Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (19 loc) · 888 Bytes

README.md

File metadata and controls

33 lines (19 loc) · 888 Bytes

go2go-docker

An alpine based Go image, built using the dev.go2go experimental branch.

See "The Go Blog: The Next Step For Generics" for additional context.

Installation

Either build locally, or docker pull mrothy/go2go.

Automated builds are run nightly at 0400 UTC.

Usage

Use just like the official golang images, except you now also have access to go tool go2go.

$ go tool go2go
Usage: go2go <command> [arguments]

The commands are:

        build      translate and build packages
        run        translate and run list of files
        test       translate and test packages
        translate  translate .go2 files into .go files