Skip to content

Enable Profiling

Andrew Rea edited this page Dec 17, 2016 · 1 revision

You can enable profiling by setting the profile flag:

go build -ldflags "-X main.profile='1'"

Clone this wiki locally