How do I manage Windows User Accounts in Go?
I need to be able to manage Windows Local User Accounts from a Go application and it appears that without using CGo, there are no native bindings. My initial search led me to people saying it was best to use "exec.Command" to run the "net user" command, but that seems messy and unreliable when it comes to parsing the response codes. I've found the functions to handle this type of thing are in the netapi32.dll library, but with Go not natively supporting the Windows header files, it doesn't appear easy to call those functions. Taking an example from https://github.com/golang/sys/tree/master