[go-nuts] How to correctly run test in Golang source code directory runtime?

2020-08-28 Thread Chai Baoyang
Hi All, I tried to run "go test -timeout 30s -run ^TestMemStats$" in the source directory runtime. But failed with error infomation below: "error.go:7:8: use of internal package internal/bytealg not allowed alg.go:8:2: use of internal package internal/cpu not allowed atomic_pointer.go:8:2: us

[go-nuts] How to debug the func of makeSlice Or the map creating or growing process step by step

2020-08-06 Thread Chai Baoyang
Hi All, I want to know how the slice or map grow. Do we have an method to debug the func of makeSlice Or the map creating or growing process step by step? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this gr