MCPcopy Create free account
hub / github.com/Go-Learning-Land/Go-Learning-Archive / plus

Function plus

GolangBasics/GoByExample/012Functions.go:5–8  ·  view source on GitHub ↗
(a int, b int)

Source from the content-addressed store, hash-verified

3import "fmt"
4
5func plus(a int, b int) int {
6
7 return a + b
8}
9
10func plusPlus(a, b, c int) int {
11 return a + b + c

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected