Go by Example
Go was an open source programming language designed to building simple, fast, and reliable software.
Go by Example are a hands-on introduction to go using annotated Example programs. Check out the ' example ' or browse the full list below. Hello World Values Variables Constants for if/else Switch Arrays Slices Maps Range functions multiple return Values Variad IC functions Closures recursion pointers Structs Methods interfaces Errors goroutines channels Channel Buffering Channel S Ynchronization Channel Directions Select Timeouts non-blocking Channel Operations Closing channels Range over channels Tim ERs tickers Worker Pools Rate limiting Atomic counters mutexes Stateful goroutines sorting sorting by functions Panic Defe R Collection Functions String functions String Formatting Regular Expressions JSON time Epoch time formatting/parsing Ra Ndom Numbers Number parsing URL parsing SHA1 hashes Base64 Encoding Reading files Writing files line Filters command-line Arguments command-line Flags environment Variables spawning processes Exec ' ing processes signals Exit
by @mmcgrana | feedback | source | License