depot/go/buildgo2/main.go

15 lines
263 B
Go
Raw Permalink Normal View History

package main
import (
"fmt"
2024-11-16 15:30:41 +00:00
"git.lukegb.com/lukegb/depot/go/buildgo2/asm"
//"git.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))
}