We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea4b81 commit 3514694Copy full SHA for 3514694
go/extractor/trap/labels.go
@@ -57,7 +57,7 @@ func (l *Labeler) GlobalID(key string) Label {
57
label, exists := l.keyLabels[key]
58
if !exists {
59
id := l.nextID()
60
- fmt.Fprintf(l.tw.zip, "%s=@\"%s\"\n", id, escapeString(key))
+ fmt.Fprintf(l.tw.wzip, "%s=@\"%s\"\n", id, escapeString(key))
61
label = Label{id}
62
l.keyLabels[key] = label
63
}
@@ -90,7 +90,7 @@ func (l *Labeler) LocalID(nd interface{}) Label {
90
// FreshID creates a fresh label and returns it
91
func (l *Labeler) FreshID() Label {
92
93
- fmt.Fprintf(l.tw.zip, "%s=*\n", id)
+ fmt.Fprintf(l.tw.wzip, "%s=*\n", id)
94
return Label{id}
95
96
0 commit comments