/explore
|
You are here |
unwiredcouch.com | ||
| | | | |
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: |
|
| | | | | ||
| | | | |
boyter.org
[AI summary] A technical guide detailing the setup, file structure, dependency management, and compilation practices for developing Go projects in 2018. |
|
| | | | | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
benbrougher.tech
How to write bash if you know a little PowerShell |
|
| | | |||