package cover // int check(int c) { return c; } import "C" import "fmt" func Cover() { if 0 != 0 { fmt.Println("You can’t cover me!") } if C.check(C.int(0)) != 0 { fmt.Println("You can’t cover me!") } }
package cover // int check(int c) { return c; } import "C" import "fmt" func Cover() { if 0 != 0 { fmt.Println("You can’t cover me!") } if C.check(C.int(0)) != 0 { fmt.Println("You can’t cover me!") } }