12 lines
100 B
Go
12 lines
100 B
Go
|
package main
|
||
|
|
||
|
import "C"
|
||
|
|
||
|
//export Add
|
||
|
func Add(a, b int) int {
|
||
|
return a + b
|
||
|
}
|
||
|
|
||
|
func main() {}
|
||
|
|