MCPcopy Index your code
hub / github.com/derekbanas/Go-Tutorial / getSum

Function getSum

hellogo.go:38–40  ·  view source on GitHub ↗

Returns sum of values

(x int, y int)

Source from the content-addressed store, hash-verified

36
37// Returns sum of values
38func getSum(x int, y int) int {
39 return x + y
40}
41
42// Return multiple values
43func getTwo(x int) (int, int) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected