Add initial project structure including: - Go module with Cobra CLI dependency - Root command and main entrypoint - Basic documentation (README, AGENTS.md, architecture, decisions, development, roadmap) - Configuration example and gitignore - Tool version management with mise - Comprehensive project rules and conventions
495 B
495 B
Development
Prerequisites
- Go 1.26.2 (pinned in
mise.toml) mise(https://mise.jdx.dev) — runmise installto install toolchain
Build
go build ./...
go build -o mygo .
Test
go test ./...
go test -v -run TestName ./internal/...
Lint & Format
go vet ./...
go fmt ./...
Config
Server config is in config.yaml (symlink to config.example.yaml in development environment).
server:
host: 0.0.0.0
port: 10086