Are you new in Golang? 😏 This repository is a hands-on introduction to Go using annotated example programs.
- Hello World
- Values
- Variables
- Constants
- For
- If/Else
- Switch
- Arrays
- Slices
- Maps
- Range
- Functions
- Multiple Return Values
- Variadic Functions
- Closures
- Recursion
- Pointers
- Strings and Runes
- Structs
- Methods
- Interfaces
- Struct Embedding
- Generics
- Errors
- Goroutines
- Channels
- Channel Buffering
- Channel Synchronization
- Channel Directions
- Select
- Timeouts
- Non-Blocking Channel Operations
- Closing Channels
- Range over Channels
- Timers
- Tickers
- Worker Pools
- WaitGroups
- Rate Limiting
- Atomic Counters
- Mutexes
- Stateful Goroutines
- Sorting
- Sorting by Functions
- Panic
- Defer
- Recover
- String Functions
- String Formatting
- Text Templates
- Regular Expressions
- JSON
- XML
- Time
- Epoch
- Time Formatting / Parsing
- Random Numbers
- Number Parsing
- URL Parsing
- SHA256 Hashes
- Base64 Encoding
- Reading Files
- Writing Files
- Line Filters
- File Paths
- Directories
- Temporary Files and Directories
- Embed Directive
- Testing and Benchmarking
- Command-Line Arguments
- Command-Line Flags
- Command-Line Subcommands
- Environment Variables
- HTTP Client
- HTTP Server
- Context
- Spawning Processes
- Exec'ing Processes
- Signals
- Exit
You studied basic syntax and examples in Golang with open-source
Here is some repositories for your guide:
- Implementing interface from different package golang
- Unmarshalling dynamic JSON in Golang
- Example of Golang CRUD using MySQL from scratch
- Token-based Authentication with MySQL
- Golang RESTful API using GORM and Gorilla Mux
Thank you for looking at this repository. 👋