Documentation ¶ Index ¶ func Multiply(a, b int) int Examples ¶ Multiply Multiply (NotFP) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Multiply ¶ func Multiply(a, b int) int Example ¶ result := Multiply(3, 5) Output: 15 Example (NotFP) ¶ inputs := []int{1, 2, 3, 4, 5} var result int for index, thisValue := range inputs { if index == 0 { result = thisValue continue } result = Multiply(result, thisValue) } Output: 120 Types ¶ This section is empty. Source Files ¶ View all Source files example.go Click to show internal directories. Click to hide internal directories.