fix
This commit is contained in:
parent
25badb3e79
commit
6cd8ff2fe4
@ -239,9 +239,9 @@ func (ti *tagItems) override(nti tagItems) tagItems {
|
|||||||
|
|
||||||
func (it *InjectTag) newTagItems(tag string) tagItems {
|
func (it *InjectTag) newTagItems(tag string) tagItems {
|
||||||
var items []tagItem
|
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, ":")
|
sepPos := strings.Index(t, ":")
|
||||||
items = append(items, tagItem{
|
items = append(items, tagItem{
|
||||||
key: t[:sepPos],
|
key: t[:sepPos],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user