Closed medyagh closed 6 years ago
It doesn't seem like it supports more than one tag for a field
I tried the followings and it doesnt seem to work,
with semicolon
type config struct { myfield1 string `required:"true";split_words:"true"` }
with comma
type config struct { myfield1 string `required:"true",split_words:"true"` }
I tried with colon
type config struct { myfield1 string `required:"true":split_words:"true"` }
Am I missing something or is it not supported?
ah ! it was space !
for people with same problem here this works for me
type config struct { myfield1 string `required:"true" split_words:"true"` }
It doesn't seem like it supports more than one tag for a field
I tried the followings and it doesnt seem to work,
with semicolon
with comma
I tried with colon
Am I missing something or is it not supported?