|
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: | |
| | | | |
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. | |
| | | | |
tonyfinn.com
|
|
| | | | | This post explains the basics of Nixpkgs for authoring Nix packages, including the tools that will save you from reinventing the wheel in your own Nix packages. | |
| | | | |
blog.lohr.dev
|
|
| | | A review by a Rust enthusiast | ||