You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61ddd5d06e | 2 months ago | |
---|---|---|
coursera | 11 months ago | |
datastructures | 3 months ago | |
debugger | 4 months ago | |
go-gopher-cli | 7 months ago | |
go-sql-database | 3 months ago | |
go-web-app | 5 months ago | |
idiomatic_go | 11 months ago | |
learn_go_with_tests | 2 months ago | |
network_programming/tcp/ch3 | 12 months ago | |
scratch_space | 11 months ago | |
tablewriter | 7 months ago | |
.gitignore | 2 years ago | |
Makefile.template | 11 months ago | |
README.md | 1 year ago |
README.md
Learn Golang
Following the O'Reilly "Learning Go: An Idiomatic Approach to Real-World Go Programming"
Notes
- The use of
./...
denotes a wildcard for tools likego fmt
. It matches all .go files in the current directory and it's subdirectories.
Installing Revive
The legacy linter I guess is no longer supported but the revive project is a reasonable successor.
go install github.com/mgechev/revive@latest
Go Workspaces
Ok I don't really know about modules and workspaces, but to quiet the IDE I needed to add a go.work
file to the root here, then a go.mod
file to each subdir. We can figure this out later.