14 lines
263 B
Go
14 lines
263 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"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))
|
|
}
|