this repo has no description
Go 51.8%
CUE 31.6%
HTML 5.8%
CSS 2.4%
Makefile 0.7%
JavaScript 0.4%
Shell 0.1%
Other 7.3%
1191 4 0

Clone this repository

https://tangled.org/seankhliao.com/mono
git@tangled.org:seankhliao.com/mono

For self-hosted knots, clone URLs may differ based on your setup.

README.md

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