Answers for "go add golang"

Go
0

add golang to path

export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Posted by: Guest on March-26-2022
1

append golang example

numb := []string{}
res := append(numb, "1", "2")
fmt.Println(res)
Posted by: Guest on October-02-2021

Browse Popular Code Answers by Language