package wrap7 /* #cgo CFLAGS: -O2 -march=native #cgo LDFLAGS: -lm -lsnap7 -L${SRCDIR}/snap7-full-1.4.2/build/bin/x86_64-linux/ */ import "C" import ( "github.com/gookit/color" ) //export logSnap7Server func logSnap7Server(text *C.char) { color.RGB(0x00, 0xa4, 0xb4, false).Printf("%s\n", C.GoString(text)) // Die Siemens-Farben }