MyNixOS website logo
Description

Simple program printing hello world in 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 {
  GOOS = "linux";
  GOARCH = "arm64";
}

See https://pkg.go.dev/internal/platform#pkg-variables for a list of available platforms.

Metadata

License

Maintainers (1)

Platforms (29)

    Darwin
    FreeBSD
    Linux
    WASI
Show all
  • aarch64-darwin
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-darwin
  • armv7a-linux
  • armv7l-linux
  • i686-darwin
  • i686-freebsd
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-linux