wolfogre / blog-utterances

utterances of my blog.
5 stars 0 forks source link

验证 golang 中 thrift enum 值是否合法的一个通用办法 #41

Open wolfogre opened 5 years ago

wolfogre commented 5 years ago

https://blog.wolfogre.com/posts/golang-thrift-enum-validation/

detongz commented 4 years ago

kudos++

yang-ybb commented 3 years ago

那枚举类型是int32是不是还需要加上int32的判断