Type make
and get a statically-linked go binary: out
Happyholic1203/go-static-linking-with-cgo
Minimal example that builds a statically-linked go binary that uses CGO
Go
Minimal example that builds a statically-linked go binary that uses CGO
Go
Type make
and get a statically-linked go binary: out