项目文件夹

文件
Claude ffc3447893 feat: make micro new default to simple JSON-struct services
The README and examples teach a simple pattern using plain Go structs
and JSON encoding, but `micro new` only generated protobuf services
requiring protoc. This mismatch was the biggest DX gap for new users.

Now `micro new helloworld` generates a single-file service using plain
Go structs — no protobuf, no code generation, no external tools. Just Go.

Use `micro new --proto helloworld` for the previous protobuf behavior.

- Add simple mode templates (main.go, Makefile, README, go.mod)
- Make simple mode the default, add --proto flag for protobuf
- Add tests for template parsing and service generation
- Move protoc check to only run when --proto is used

https://claude.ai/code/session_01VwPw7hMaVhFfT69oCE6x1D
2026-03-12 08:30:27 +00:00
..