- Installed Go with modules support 1.19 (https://golang.org/doc/install#install)
git clone https://github.com/pawelhenek/golang-playground.git
cd golang-playground
Running snippets from https://gobyexample.com
go run src/github.com/pawelhenek/go-by-example/for.go
Running examples from https://gowebexamples.com
go run src/github.com/pawelhenek/go-web-examples/hello-server.go
To run examples from https://quii.gitbook.io (when $GOPATH
is set to e.g. /home/pawelhenek/Pulpit/golang-playground/
)
go test -v ./hello
go test -v ./integers
go test -v ./iteration
cd iteration && go test -bench ./
go test -v ./array_and_slices
go test -v ./structs_methods_interfaces
go test -v ./pointers_and_errors
go test -v ./maps
go test -v ./dependency_injection
go test -v ./mocking
go version
go version go1.19 linux/amd64
- configure tests execution in pipeline
- more go syntax & go modules examples
- go build & dependencies tools
- testing libs
- web/http/api frameworks
- dbs, msging, protocols libs