News for hackers. Stuff that matters.
Re:Go 1.9 is released by ptman on Friday August 25, 2017 @05:07AM (#15097126)
You can usually build fully static by doing

    CGO_ENABLED=0 go build
even when using os/user or net/
Re:Go 1.9 is released by sebcat on Friday August 25, 2017 @01:54PM (#15100651)
At a computer with go1.4.2 freebsd/amd64 ATM (earlier was go1.8.1 linux/amd64 IIRC) and the above os/user example results in a dynamically linked ELF when built with CGO_ENABLED set to 0.