GeistHaus
log in · sign up

go

pkg.go.dev

Go is a tool for managing Go source code.

42 pages link to this URL
Go Directives & Automation Tools Deep Dive

These go: instructions in the Go source code && go automation tools Developers have a strong tendency to automate repetitive tasks, and this also applies to writing code. Boilerplate code may include operations such as setting up a basic file structure, initializing variables, defining functions, or importing libraries or modules. In some cases, packages provide boilerplate code as a starting point for developers to build from, typically generated after the code behavior has been configured. Although boilerplate code may be necessary and valuable to application functionality, it can also be wasteful and redundant. For this reason, there are many tools that minimize boilerplate code. go generate is a command line tool for the Go programming language that allows automatic code generation. You can use go generate to generate easily modifiable code specific to your project, making the tool powerful at reducing boilerplate. go generate This command is usually used to automatically generate code before compilation. It can be used to create repetitive or patterned code, thereby saving time and reducing errors. Think about it, in what situations would this be particularly useful? 🤔

0 inbound links article en AI & Technology Bloggolanggo
Go: How the Testing Harness Works

This is a smaller piece that I broke off from a larger article. It’s in the space of Go minutiae, but it’s worth considering if you plan on developing full mastery of the language ecosystem. So let’s start out with a question: what happens when you run go test? Very specifically in the time between when the go tool starts running and before your tests start running? If you’re like most people, I’ll wager you haven’t given it much thought; but it turns out there is a lot going on!

0 inbound links article en posts GoSoftware-HistorySweTesting
Go Module Proxy at Grab

Originally published on the Grab Tech Blog. Read the original post on engineering.grab.com. At Grab, we rely heavily on a large Go monorepo for backend development, which offers benefits like code reusability and discoverability. However, as we continue to grow, managing a large monorepo brings about its own

0 inbound links article en Go
WASI support in Go

Go 1.21 adds a new port targeting the WASI preview 1 syscall API

Zoo with Jessie Frazelle - Rust in Production Podcast | corrode Rust Consulting

Think about this: software engineers have modern code editors, parallel processing, continuous integration, and countless tools that make their work efficient. But hardware engineers? They’re often working with single-threaded tools, limited automation, and workflows that haven’t fundamentally changed in decades. Zoo is building the infrastructure to change that, creating a modern set of tools and APIs that will allow companies and engineers to build better hardware design tools and accelerate the development of physical products.

0 inbound links website en
Custom package name for go libraries

I recently released a small project called poulpe.ztec.fr. I personally use this repository as a library in one of my other projects. When I do so, my import statement looks like this:

0 inbound links article en post TechGoProofread by an LLM
testing

Package testing provides support for automated testing of Go packages.

testing

Package testing provides support for automated testing of Go packages.