News for hackers. Stuff that matters.
Re:Simple Windows GUI Application Written in Go by vetinari on Thursday June 23, 2016 @04:02PM (#11963905)
Yes, it is ran through C preprocessor. You can define for CFLAGS, CPPFLAGS or LDFLAGS in the form of special comment:

    // #cgo CFLAGS: -DYOUR_DEFINE
    // #cgo LDFLAGS: -lyourlib
    // #include <header.h>
    import "C"

There are no comments on this comment yet.