| .. | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
Go Module Consumer
Minimal scaffold for consuming Proto Socket from another Go project.
Private Registry Setup
This module path is hosted on a private Forgejo instance.
go env -w GOPRIVATE=git.toki-labs.com
go env -w GONOSUMDB=git.toki-labs.com
If authentication is required, configure either ~/.netrc:
machine git.toki-labs.com
login toki
password <personal_access_token>
or a Git URL rewrite:
git config --global url."https://toki@git.toki-labs.com/".insteadOf "https://git.toki-labs.com/"
Install Or Update
go get git.toki-labs.com/toki/common-proto-socket/go@latest
go mod tidy
Run
go run .