Re: [go-nuts] no.something seem like impossible,but it happens!!!!【 string 】causes the crash !!!!!!!!!!!!!!

2017-07-26 Thread Konstantin Khomoutov
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

Re: [go-nuts] no.something seem like impossible,but it happens!!!!【 string 】causes the crash !!!!!!!!!!!!!!

2017-07-26 Thread 370265036
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

Re: [go-nuts] no.something seem like impossible,but it happens!!!!【 string 】causes the crash !!!!!!!!!!!!!!

2017-07-26 Thread Jan Mercl
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

[go-nuts] no.something seem like impossible,but it happens!!!!【 string 】causes the crash !!!!!!!!!!!!!!

2017-07-26 Thread 370265036
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