2024-02-11 04:23:47 +00:00
|
|
|
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"
|
2024-02-11 04:23:47 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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))
|
|
|
|
}
|