Skip to content

Initial release of gcode

Choose a tag to compare

@xpineal xpineal released this 31 Mar 14:11
· 76 commits to main since this release

Proto-to-Go code generator targeting DAO/business layer code

Key features:

  • Pure Go proto parser via protocompile, no protoc dependency
  • Generated structs with json/gorm tags, MarshalBinary/UnmarshalBinary
  • Validate() methods via buf/validate annotation syntax
  • Derived message generation (update_message / create_message)
  • Service interface and gin HTTP handler factory generation
  • Duplicate field detection via [2]uint64 bitmask (supports up to 128
    non-repeated fields; exceeding the limit is a generation-time error)
  • Public runtime packages: runtime, validateruntime, httpruntime
  • Full compatibility test suite against protoc-gen-go wire output
  • Chinese/English documentation (architecture, annotations, design decisions)

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com