Голанг
package main
import "fmt"
func main()
{
fmt.Println("hello world")
}
Itchy Iguana
package main
import "fmt"
func main()
{
fmt.Println("hello world")
}
wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz
sudo tar -xvf go1.17.linux-amd64.tar.gz
sudo mv go /usr/local
sudo ln -s /usr/local/go/bin/* /usr/bin
rm go1.17.linux-amd64.tar.gz
package main
import (
"fmt"
)
func main() {
fmt.Println(`
Golang is a statically typed language loved
by scientists and researchers, developed by
Google.`)
}
# install cli database in archlinux
yay -S migrate # migration cli
yay -S sqlc # sqlc cli