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