# README
xtag
sturct tag
辅助函数
- 校验
sturct tag
是否符合要求
例子
fmt.Println(ValidateStructTag("a:1"))
Output:
bad syntax for struct tag value
# Functions
ValidateStructTag parses the struct tag and returns an error if it is not in the canonical format, which is a space-separated list of key:"value" settings.