depot/go/buildgo2/main.go

14 lines
261 B
Go

package main
import (
"fmt"
"hg.lukegb.com/lukegb/depot/go/buildgo2/asm"
//"hg.lukegb.com/lukegb/depot/go/buildgo2/cgo"
)
func main() {
fmt.Println("hi")
fmt.Printf("asm: 2 + 3 = %d\n", asm.Add(2, 3))
//fmt.Printf("cgo: 2 + 3 = %d\n", cgo.Add(2, 3))
}