MCPcopy
hub / github.com/yangwenmai/learning-golang / Add

Function Add

export.go:4–6  ·  view source on GitHub ↗

Add return a + b

(a, b int)

Source from the content-addressed store, hash-verified

2
3// Add return a + b
4func Add(a, b int) int {
5 return a + b
6}

Callers 1

TestAddFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestAddFunction · 0.68