Flow Control
decision making
if <condition> {
// do smth
} else if <condition>{
// do smth
} else {
// do smth
}
Command Line Arguments
fmt.Println(os.Args)
fmt.Println(len(os.Args))
os.Args slice of strings
first element os.Args[0] path of program
Top comments (0)