# Verification in a Bionic container with -proposed enabled
root@golang116-verification:~# dpkg -l | grep golang-1.16 ii golang-1.16-go 1.16.2-0ubuntu1~18.04.2 amd64 Go programming language compiler, linker, compiled stdlib ii golang-1.16-src 1.16.2-0ubuntu1~18.04.2 amd64 Go programming language - source files root@golang116-verification:~# PATH=/usr/lib/go-1.16/bin:$PATH root@golang116-verification:~# go version go version go1.16.2 linux/amd64 root@golang116-verification:~# cat <<EOF >trivial.go > package main > func main() {} > EOF root@golang116-verification:~# go run trivial.go root@golang116-verification:~# echo $? 0 root@golang116-verification:~# cat <<EOF >trivialcgo.go > package main > import "C" > func main() {} > EOF root@golang116-verification:~# go run trivialcgo.go root@golang116-verification:~# echo $? 0
# Verification in a Bionic container with -proposed enabled
root@golang116- verification: ~# dpkg -l | grep golang-1.16 0ubuntu1~ 18.04.2 amd64 Go programming language compiler, linker, compiled stdlib 0ubuntu1~ 18.04.2 amd64 Go programming language - source files verification: ~# PATH=/usr/ lib/go- 1.16/bin: $PATH verification: ~# go version verification: ~# cat <<EOF >trivial.go verification: ~# go run trivial.go verification: ~# echo $? verification: ~# cat <<EOF >trivialcgo.go verification: ~# go run trivialcgo.go verification: ~# echo $?
ii golang-1.16-go 1.16.2-
ii golang-1.16-src 1.16.2-
root@golang116-
root@golang116-
go version go1.16.2 linux/amd64
root@golang116-
> package main
> func main() {}
> EOF
root@golang116-
root@golang116-
0
root@golang116-
> package main
> import "C"
> func main() {}
> EOF
root@golang116-
root@golang116-
0