On Wed, Jul 26, 2017 at 02:46:08AM -0700, 370265...@qq.com wrote:
> > I think I can see at least one data race in your code. Try to run it using
> > the race detector to verify.
> thanks.yes,i thought this before too,but string is basic type of golang,to
> read and write the same variable of
thanks.yes,i thought this before too,but string is basic type of golang,to
read and write the same variable of string should not case panic i think.
在 2017年7月26日星期三 UTC+8下午5:35:24,Jan Mercl写道:
>
> On Wed, Jul 26, 2017 at 11:28 AM <3702...@qq.com > wrote:
>
> I think I can see at least one data
On Wed, Jul 26, 2017 at 11:28 AM <370265...@qq.com> wrote:
I think I can see at least one data race in your code. Try to run it using
the race detector to verify.
--
-j
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this
the code is like this(i make it simple,but the logic is not change)
const (
Ignore = "-"
End= "\r\n"
)
type AccessLog struct {
Hash string
LowerIP string
FlowType int8
SendTime