Skip to content

Instantly share code, notes, and snippets.

View NebojsaHorvat's full-sized avatar

Nebojsa NebojsaHorvat

View GitHub Profile
@tejainece
tejainece / cgo1.go
Last active October 26, 2024 04:18
Examples of calling C code from Golang
package main
//#include<stdio.h>
//void inC() {
// printf("I am in C code now!\n");
//}
import "C"
import "fmt"
func main() {