Go generic
This repo contain basic demo for installing and running go1.18beta1 version which uses the official tutorial of Go: Getting started with generics
Installation
If you have go already installed then you need to do only two steps:
- install go1.18beta
$ go install golang.org/dl/go1.18beta1@latest
- Then
$ go1.18beta1 download
Run
For go1.18beta1 you need to use go1.18beta1
instead of go
SO, to run this demo:
$ go1.18beta1 run main.go