github.com/giovannyortegon/go@v0.0.0-20220115155912-8890063f5bdd/src/MasterGO/Chap02-GoInternals/GOtoC/willUseGo.c (about) 1 #include<stdio.h> 2 #include"usedByC.h" 3 4 int main(int argc, char * argv[]) 5 { 6 GoInt x = 12; 7 GoInt y = 23; 8 9 printf("About to call a Go function!\n"); 10 PrintMessage(); 11 12 GoInt p = Multiply(x, y); 13 printf("Product: %d\n", (int)p); 14 printf("It worked!\n"); 15 16 return (0); 17 }