No description
- Go 94.1%
- Dockerfile 5.9%
|
|
||
|---|---|---|
| cmd/gopar | ||
| example | ||
| internal | ||
| k8s | ||
| .drone.yml | ||
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
| renovate.json | ||
Gopar
a simplified version of what i saw on go.uber.org
HOWTO configure:
yaml config:
host: localhost:8080 #FIXME(kroot): replace in prod
paths:
/atomic:
repo: https://github.com/uber-go/atomic
display: https://github.com/uber-go/atomic
vcs: git
env config:
export GOPAR_HOST=localhost:8080 #FIXME(kroot): replace in prod
export GOPAR_CACHE_AGE=24h
export GOPAR_PATHS__ATOMIC__REPO=https://github.com/uber-go/atomic
export GOPAR_PATHS__ATOMIC__DISPLAY=https://github.com/uber-go/atomic
export GOPAR_PATHS__ATOMIC__VCS=git
env path keys map to /<lowercased-key>, so GOPAR_PATHS__ATOMIC__REPO becomes /atomic.
SEE ALSO: config/config.go