Skip to content

monorepo of all the stuff I'm actively working on

License

Notifications You must be signed in to change notification settings

seankhliao/mono

Repository files navigation

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 ./...

deploy

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