A repository focused on learning and practicing Golang
- Strong and statically typed
- Excellent community
- Key features
- Simplicity
- Fast compile times
- Garbage collected
- Built-in concurrency
- Compile to standalone binaries
- Variable declaration
- Redeclaration and shadowing
- Visibility
- Naming conventions
- Type conversions
- var foo int
- var foo int = 42
- foo := 42
- lower case first letter for package scope
- upper case first letter to export
- no private scope
- Pascal or camelCase
- Capitalize acronyms (HTTP, URL)
- As short as reasonable
- Longer names for longer lives
- DestinationType(variable)
- Use (strconv) package for string
- Boolean type
- Numeric types
- Integers
- Floating point
- Complex numbers
- Text types