Please share your entire request, the version of FusionAuth, any debug logs, and your FusionAuth configuration. Otherwise it is difficult to provide you any assistance.
The go client doesn't return the headers from the HTTP response when it calls the fusionauth APIs.
Workaround is to call the /api/login API yourself, extract the headers and set "Set-Cookie" headers yourself.