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 |
Task | Code Example | Description |
---|---|---|
Build | go build -o mysvc | Build project |
Task | Code Example | Reference | |
---|---|---|---|
Creating an instance of a struct |
| link | |
Creating an instance of a struct |
| ||
Implementing an Interface |
| link |
Reference | URL |
---|---|
Go Home | https://go.dev |
Go Documentation | https://go.dev/doc/ |
Tutorials | https://go.dev/doc/tutorial/ |
Go by Example | https://gobyexample.com |