MCPcopy Create free account
hub / github.com/derekbanas/Go-Tutorial / sumVals

Function sumVals

hellogo.go:274–276  ·  view source on GitHub ↗
(x, y int)

Source from the content-addressed store, hash-verified

272}
273
274func sumVals(x, y int) int {
275 return x + y
276}
277
278// ----- RECURSION -----
279func factorial(num int) int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected