|
var currentid string |
|
var currentparamname string |
Those two variables are defined on the package level. That means that two independent rfc5424.SyslogMessage objects with structured data can't be built concurrently – race detector correctly reports unsynchronised writes.
go-syslog/rfc5424/builder.go
Lines 64 to 65 in ac565dc
Those two variables are defined on the package level. That means that two independent
rfc5424.SyslogMessageobjects with structured data can't be built concurrently – race detector correctly reports unsynchronised writes.