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

Function Subtract

Chapter01/libraries/arithmetic/arithmetic.go:17–28  ·  view source on GitHub ↗

Subtract will take as many arguments as you pass to it and return the subtraction of them

(args ...int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSubtractFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSubtractFunction · 0.68