How not to use golang go-playground/validator “required_without” with “alpha” for correct validating?

后端 未结 0 1906
温柔的废话
温柔的废话 2021-01-24 23:05

I have a struct:

    Name            string            `bson:"name,omitempty" validate:"required,alphaunicode"`
    Sex             int                


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