/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
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:
4.8 parsecs

Travel
| |
| | boyter.org

[AI summary] A technical guide detailing the setup, file structure, dependency management, and compilation practices for developing Go projects in 2018.
6.0 parsecs

Travel
| |
| | 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.
4.7 parsecs

Travel
| |
| | benbrougher.tech

How to write bash if you know a little PowerShell
31.2 parsecs

Travel
|