# command-line-arguments ./文件名.go:26:15: inlining call to fmt.Println ./文件名.go:17:6: moved to heap: g ./文件名.go:22:8: funcliteralescapestoheap ./文件名.go:26:16: "mid为:" escapes to heap ./文件名.go:26:16: mid escapes to heap ./文件名.go:26:15: []interface {}{...} does not escape <autogenerated>:1: .this does not escape
对于println,其入参是字符串,不会发生逃逸
1 2 3 4
# command-line-arguments ./文件名.go:21:8: can inline main.func1 ./文件名.go:16:6: moved to heap: g ./文件名.go:21:8: funcliteralescapestoheap