package spec import ( "errors" "regexp" "strings" "zero/core/stringx" "zero/tools/goctl/util" ) const ( TagKey = "tag" NameKey = "name" OptionKey = "option" BodyTag = "json" ) var ( TagRe = regexp.MustCompile(`(?P\w+):"(?P[^,"]+)[,]?(?P