To add more packages locally, follow these suggestions.
To not get mad with gitignore, always build giving an ignored extension to binaries (*.o, *.exe), or move them to an ignored folder (/bin)
go mod init myExample
go mod tidy
go run .
Master go learning roadmap: https://roadmap.sh/golang/
- https://go.dev/tour
- https://go101.org/
- https://go.dev/doc/tutorial/
- https://www.digitalocean.com/community/tutorial_series/how-to-code-in-go
- TechWorld with Nana - Golang Tutorial for Beginners
- FreeCodeCamp - Learn Go Programming - Golang Tutorial for Beginners
- That DevOps Guy - Introduction to Go Programming for beginners
- https://exercism.org/tracks/go
- https://golangr.com/exercises/
- https://gophercises.com/
- https://www.hackerrank.com/domains/algorithms
Use Go Tour as the base lessons order. While the following list should be used as an extension of the arguments for a deeper understanding:
-
Hello world!
-
Modules and packages
-
Strings
-
Slices
-
Maps
-
Closures
-
Interfaces
- Go tour - interfaces
- Go101 - Interfaces - Until value boxing chapter
- https://pkg.go.dev/builtin#any
- Print code - fast view
- Interface specification
-
Value boxing, polymorphism, reflection
- Go101 Interfaces - From value boxing
- https://pkg.go.dev/reflect
-
Benchmarking
-
Concurrency and Routines