Variables / Blank identifier / Essential Go

Run Settings
LanguageGo
Language Version
Run Command
package main import "fmt" func SumProduct(a, b int) (int, int) { return a + b, a * b } func main() { // only need the sum sum, _ := SumProduct(1, 2) // the product gets discarded fmt.Println(sum) // -> 3 }
Editor Settings
Theme
Key bindings
Full width
Lines