Thrift file how to define a list of object id

前端 未结 0 734
忘了有多久
忘了有多久 2020-12-28 22:29

I am using thrift + golang, and my thrift file looks like this:

namespace go user

struct Role {
    1: string id;
    2: string roleName;
}

struct User {
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题