Golang implementation for using Kvaser CANlib SDK in Windows
You need the drivers for your Kvaser device and the Kvaser CANlib SDK found at https://kvaser.com/download/
CGO_ENABLED=1
CGO_CFLAGS="-IC:\Path\To\Canlib\INC"
CGO_LDFLAGS="-LC:\Path\To\Canlib\Lib\x64"
Example usage in goCAN Kvaser driver