See https://blog.golang.org/c-go-cgo for info about calling C code from Go program.
However, I am not sure that the cgo supports vc. 64-bit mingw-gcc from msys2 works fine. Hello everyone, > I'm a new guy in Golang. > We create a static library with VS2010, and we want go can call the > library file(*.lib) > I do many search with google, but only find a way to call dynamic library > file(*.dll). > Anybody can tell how can Golang call static library in windows. Is it > possible? > > Thanks. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.