MCPcopy Create free account
hub / github.com/PacktPublishing/Go-Design-Patterns / Multiply

Function Multiply

Chapter01/libraries/arithmetic/arithmetic.go:32–43  ·  view source on GitHub ↗

Multiply will take as many arguments as you want and will return the multiplication of them

(args ...int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestMultiplyFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestMultiplyFunction · 0.56