1 min

Learning Go

> Exercise: Fibonacci closure

Cont with:


https://blog.golang.org/go-slices-usage-and-internals

https://golang.org/pkg/encoding/json/

http://blog.golang.org/json-and-go



http://golang.org

https://en.wikipedia.org/wiki/Go_(programming_language)

docs: https://golang.org/doc

time examples

package list: https://golang.org/pkg

Declaration Syntax

https://blog.golang.org/gos-declaration-syntax

64-bit Int

https://en.wikipedia.org/wiki/9223372036854775807

The number 9,223,372,036,854,775,807, equivalent to the hexadecimal value 7FFF,FFFF,FFFF,FFFF16, is the maximum value for a 64-bit signed integer in computing. It is therefore the maximum value for a variable declared as a long integer (long, long long int, or bigint) in many programming languages running on modern computers.

1,447,437,845,199,326,741 - nano seconds since 1970 for the date Fri, Nov 13, 2015 around 1:05 p.m.

Programming

http://stackoverflow.com/questions/10130341/go-go-get-go-install-local-packages-and-version-control

https://golang.org/doc/code.html

https://golang.org/cmd/go/

Commands

build compile packages and dependencies
clean remove object files
doc show documentation for package or symbol
env print Go environment information
fix run go tool fix on packages
fmt run gofmt on package sources
generate generate Go files by processing source
get download and install packages and dependencies
install compile and install packages and dependencies
list list packages
run compile and run Go program
test test packages
tool run specified go tool
version print Go version
vet run go tool vet on packages


https://golang.org/pkg/
http://blog.golang.org/json-and-go
https://golang.org/pkg/encoding/json/#pkg-examples
https://golang.org/doc/install?download=go1.5.2.linux-386.tar.gz
https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies
https://golang.org/doc/articles/go_command.html

From JR's : articles
189 words - 2278 chars - 1 min read
created on
updated on - #
source - versions



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 19, 2024 - 11:57 p.m. EDT