This Go module started as a simple "drop-in" replacement of net/http
so that you can use WinHTTP and WinINet on Windows for better proxy
support, with NTLM authentication. Microsoft recommends WinINet over
WinHTTP unless you're writing a Windows service.
If you want to use a minimal, cross-plaform HTTP client, I recommend inet which uses this module behind the scenes.
This module has been expanded to also include multiple Windows API functions and constants. There are nested modules for converting Go/Windows types, debugging DLLs, and user identity management.
Open a terminal and run the following:
$ go get --ldflags "-s -w" --trimpath -u github.com/mjwhitta/win
See each nested module's README for usage examples.
- WinINet
- FTP client