func parseTags()

in util.go [48:68]


func parseTags(tag string) (string, tagOptions) {
	s := strings.Split(tag, ",")
	opts := tagOptions{}
	for _, opt := range s[1:] {
		switch opt {
		case "squash", "inline":
			opts.squash = true
		case "ignore":
			opts.ignore = true
		case "merge":
			opts.cfgHandling = cfgMergeValues
		case "replace":
			opts.cfgHandling = cfgReplaceValue
		case "append":
			opts.cfgHandling = cfgArrAppend
		case "prepend":
			opts.cfgHandling = cfgArrPrepend
		}
	}
	return s[0], opts
}