This commit is contained in:
2023-03-23 00:23:17 +08:00
parent 25badb3e79
commit 6cd8ff2fe4

View File

@@ -239,9 +239,9 @@ func (ti *tagItems) override(nti tagItems) tagItems {
func (it *InjectTag) newTagItems(tag string) tagItems {
var items []tagItem
splitted := rTags.FindAllString(tag, -1)
split := rTags.FindAllString(tag, -1)
for _, t := range splitted {
for _, t := range split {
sepPos := strings.Index(t, ":")
items = append(items, tagItem{
key: t[:sepPos],