MCPcopy
hub / github.com/betty200744/ultimate-go / Add

Function Add

Language_Specification/basics.go:15–17  ·  view source on GitHub ↗

variables , shard type

(x, y int)

Source from the content-addressed store, hash-verified

13var node, goo int // variables , shard type
14
15func Add(x, y int) int { // func take 0 or more arguments and type int , and return int , export
16 return x + y
17}
18
19func swap(x, y string) (string, string) { // two argument shard type string , and return multi string
20 return y, x

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected