hello-go
hello-go is a simple program printing "Hello, world!" written in Go, aiming at testing programs that involves analyzing executables or emulating foreign architectures, without pulling in a heavy cross toolchain.
Specify target platform by setting GOOS and GOARCH:
hello-go.overrideAttrs (previousAttrs: {
env = previousAttrs.env or { } // {
GOOS = "linux";
GOARCH = "arm64";
};
})
See https://pkg.go.dev/internal/platform#pkg-variables for a list of available platforms.
- Name
- hello-go
- Main Program
hello-go- Programs
hello-go
- License
- Maintainers
- Platforms
- x86_64-darwin
- aarch64-darwin
- aarch64-linux
- armv5tel-linux
- armv6l-linux
- armv7a-linux
- armv7l-linux
- i686-linux
- loongarch64-linux
- m68k-linux
- microblaze-linux
- microblazeel-linux
- mips-linux
- mips64-linux
- mips64el-linux
- mipsel-linux
- powerpc-linux
- powerpc64-linux
- powerpc64le-linux
- riscv32-linux
- riscv64-linux
- s390-linux
- s390x-linux
- x86_64-linux
- wasm64-wasi
- wasm32-wasi
- i686-freebsd
- x86_64-freebsd
- aarch64-freebsd
- Defined
- Source