4 ms·
That's kindof a bad analogy. `go build` is a very high-level command. I'd compare it to going to a car dealership and asking them to 'make the car usable'. You
by wereHamster 3y ago
That's kindof a bad analogy.
`go build` is a very high-level command. I'd compare it to going to a car dealership and asking them to 'make the car usable'. You think only a small part is broken but the dealership determines that it's incompatible with the current law and you need to get a new one.
If you want to build go project in a hermetically sealed environment (where it doesn't fetch anything unknown or unexpected from the internet), use for example Nix. When building software with Nix, the sandbox doesn't have access to the internet and all project dependencies must be specified via the Nix language.