📚Cheatsheets

Cheatsheet collection for go, rust and javascript.

Golang get argument

Get argument in golang.

import (
    "fmt"
    "os"
)

func main() {
    fmt.Println(len(os.Args), os.Args)
}