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

Function Divide

Chapter01/libraries/arithmetic/arithmetic.go:47–53  ·  view source on GitHub ↗

Divide will take two arguments and return its division as far as the second argument isn't zero that will return an error

(a, b int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestDivideFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDivideFunction · 0.68