Build telegraf in Windows

telegraf
#1

Build telegraf in Windows

Can someone please explain how to build telegraf.exe for windows. I wrote a new plugin and I am stuck trying to build it for windows. Plugin is working in linux and macOS

#2

GOOS=windows go build ./cmd/telegraf should do it