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