-
Notifications
You must be signed in to change notification settings - Fork 0
Development Guide
Gilfoyle edited this page Mar 29, 2026
·
1 revision
git clone https://github.com/j33pguy/33-linux.git
cd 33-linux
make build
# Run in dev mode
DEV_MODE=1 ./bin/initd
# In another terminal
DEV_MODE=1 ./bin/33 version
DEV_MODE=1 ./bin/33 auth login -u admin -p admin
DEV_MODE=1 ./bin/33 hw detect- Go 1.25+
- protoc + Go plugins
- Make
- Go stdlib + gRPC/protobuf only (no other external deps)
-
go fmtalways - Errors: always check, always wrap with context
- Goroutines + channels over mutexes
- No
unsafepackage
- Define proto in
proto/{module}/v1/{module}.proto make proto- Implement in
internal/{module}/{module}.go - Register in
cmd/initd/main.go - Add CLI commands in
cmd/climain/main.go
See the full development guide for detailed conventions, testing, and cross-compilation.