You've already forked go-profiler-notes
mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2025-07-15 23:54:16 +02:00
16 lines
151 B
Go
16 lines
151 B
Go
// +build ignore
|
|
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
sum := 0
|
|
sum = add(23, 42)
|
|
fmt.Println(sum)
|
|
}
|
|
|
|
func add(a, b int) int {
|
|
return a + b
|
|
}
|