Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 1.3 KB

README.md

File metadata and controls

65 lines (46 loc) · 1.3 KB

mono

Go Reference License

This is a monorepo full of.... experimental stuff. Mostly in go and cue.

directory layout

  • _data: placeholder directories with sensitive data stored in google cloud storage buckets.
  • _web: website content in markdown source, rendered by blogengine
  • cmd/: various commands
  • deploy: k8s manifests in cue source

tooling

commands for mainting the codebase

code generation

go tool buf generate

# in a deploy/*/ directory
go tool cue cmd k8smanifests

formatting

go tool gofumpt -w .
go tool buf format -w .
go tool cue fmt ./...

linting

go vet ./...
go tool staticcheck ./...
go tool buf lint .
go tool cue vet -c=false ./...
go tool govulncheck ./...

deploy

# in a _web/*/ directory
go tool blogengine

# targeting a cmd/*/ directory
go tool ko apply -f ./cmd/

# in a deploy/*/ directory
kpt live apply --server-side --output table