|
You are here |
unwiredcouch.com | ||
| | | | |
boyter.org
|
|
| | | | | ||
| | | | |
www.alexedwards.net
|
|
| | | | | [AI summary] This article provides an in-depth guide to Go programming, covering various aspects such as code quality, dependency management, profiling, testing, and more. It includes practical examples and commands for developers to use in their workflow. | |
| | | | |
hjr265.me
|
|
| | | | | Last week I was working on a Go program. I wanted it to print the closest Git tag and build time to logs at startup. I could write a small script that generates a Go file with these two variables set right before building the Go program. But, Go makes it easier. Ldflags Say you have the following Go code: 1 2 3 4 5 6 7 package main var hello string func main() { println(hello) } You can build it like so: | |
| | | | |
swiftrocks.com
|
|
| | | The Performance Trace profile allows you to debug performance issues without having to attach the device to Xcode. Let's see what we can use it for! | ||