git clone https://go.googlesource.com/go goroot
cd ./goroot
git checkout dev.go2go
cd ./src
CGO_ENABLED=0 ./all.bash
export PATH=/path/to/your/goroot/bin:$PATH
go tool go2go run ./functions.go2
go tool go2go run ./types.go2
Some generic Generics code
git clone https://go.googlesource.com/go goroot
cd ./goroot
git checkout dev.go2go
cd ./src
CGO_ENABLED=0 ./all.bash
export PATH=/path/to/your/goroot/bin:$PATH
go tool go2go run ./functions.go2
go tool go2go run ./types.go2
Some generic Generics code
GNU Affero General Public License v3.0