Table of Contents |
---|
Projects & Modules
Task | Code Example | Description |
---|---|---|
Creating a new go project | mkdir myproject | |
Download modules | go mod vendor | https://go.dev/ref/mod#go-mod-vendor |
Cleanup modules | go mod tidy | Ensures that the |
Building
Task | Code Example | Description |
---|---|---|
Build | go build -o mysvc | Build project |
Types/Objects
Task | Code Example | Reference | ||
---|---|---|---|---|
Creating an instance of a struct |
| link | ||
Creating an instance of a struct |
| |||
Implementing an Interface |
| link |
...