golang tips

go install gcflags  -I -N

 

https://gist.github.com/3025333

 

 

https://gist.github.com/3025333

 

 

Turning off optimization and inlining in Go gc compilers

Pass the flags -gcflags '-N -l'.

$ go build -gcflags '-N -l' [code.go]

or

$ go install -gcflags '-N -l' [code.go]

References

posted on 2016-08-16 17:56  sgano1  阅读(146)  评论(0编辑  收藏  举报

导航