Three improvements I've made to os/user.Current for #golang 1.24 (Windows-only):
* no longer takes 1-120s when using Active Directory, it's now always in the order of ms
* can be used on Windows Nano Server
* can be used on impersonated threads
about 1 year ago