Slide 25
Slide 25 text
Useful packages, methods
• fmt.Println(“like console.log”)
• fmt.Sprintf(“%+v is %v old”, person,
person.Age())
• flag: ./cmd -backend “https://google.com/”
Flag: backend, value: https://google.com/
• number, err := strcov.Atoi(“2442”)
number is 2442 (int), err is nil