Go
Resources
How to use -> https://www.jetbrains.com/go/learn/
https://go.dev/doc/ - Official Docs
https://gobyexample.com/ -> Learn go by exaples
https://go.dev/tour/welcome/1 -> tour of Go
https://github.com/stars/zomasec/lists/allaboutgolang -> Collection for studying go
https://gophercises.com/ -> Practice go
https://www.youtube.com/playlist?list=PL-s79PvYsn56nex_VS-ms_APNmfDgmc3k -> youtube Course
https://github.com/blackhat-go/bhg -> BlacHatGo Notes
https://www.youtube.com/@anthonygg_ -> Antony GG Chanel
https://www.programiz.com/golang/getting-started -> Toturials from programiz
https://devhints.io/go -> Go cheatsheet
Go Commands
go run main.go
-> Run a filego build hello.go
-> this command should create an executable file with the name hello$ go build -ldflags "-w -s"
will reduce the binary size by approximately 30 percent:go doc fmt.Println
-> The go doc command lets you interrogate documentation about a package, function, method, or variablego get
-> To obtain package source codego get github.com/stacktitan/ldapauth
go fmt
Automatically formats your source codego vet
Attempts to identify issues, some of which might be legitimate bugs, that a compiler might missgolint
reports style mistakes such as missing comments, variable naming that doesn’t follow conventions, useless type specifications, and moreuse the
go test
tool to run unit tests and benchmarks, cover to check for test coverage, imports to fix import statements, and more.
Last updated