Skip to content

v0.7.5: Fixes regression in JSON struct field name

Compare
Choose a tag to compare
@VojtechVitek VojtechVitek released this 19 Nov 13:26
· 87 commits to master since this release

Fixes webrpc/webrpc#135

Example:

  1. Given this RIDL
 message User
  - ID: uint64
       + go.tag.db = id
  1. the generated code will result in
 type Nickname struct {
-   ID        uint64     `json:"iD" db:"id"`
+   ID        uint64     `json:"ID" db:"id"`
 }