hi all,
i have a project I have to work with CGo. I want to disable some
controls as they are not good enough right now.
It works when I write "set godebug=cgocheck=0" on Windows in console.
However, this is a GUI program. Console should not open.
I tried this with "os.Setenv". I define it in "func init" it doesn't work.
Something like this:
func init() {
os.Setenv("godebug", "cgocheck=0")
}
What should I do?
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/7cfa38c1-af0c-82ab-1a83-441de93252a8%40gmail.com.