[go-nuts] use cgo cross compile linux platform link error on MacOS link error

2018-10-20 Thread Weeds Qian
I have test that use GOOS=linux GOARCH=amd64 can be compiled successful in MacOS. But I encounter problem when interfere with the github.com/mattn/go-sqlite3 which need cgo, so I enable the CGO_ENABLED=1 This is where is the error happen, the error message as bellow, how can I fix it, thanks.

[go-nuts] Re: http client POST/GET.. will not save cookie before do redirect request

2018-09-19 Thread Weeds Qian
Thanks, that's solve my problem. 在 2018年9月12日星期三 UTC+8下午2:52:20,Volker Dobler写道: > > On Wednesday, 12 September 2018 06:28:12 UTC+2, Weeds Qian wrote: >> >> What did you expect to see? >> >> the cookie in response >> What did you

[go-nuts] Re: http client POST/GET.. will not save cookie before do redirect request

2018-09-12 Thread Weeds Qian
12日星期三 UTC+8下午2:52:20,Volker Dobler写道: > > On Wednesday, 12 September 2018 06:28:12 UTC+2, Weeds Qian wrote: >> >> What did you expect to see? >> >> the cookie in response >> What did you see instead? >> >> no cookie in response >

[go-nuts] http client POST/GET.. will not save cookie before do redirect request

2018-09-11 Thread Weeds Qian
go version go1.10.3 linux/amd64 *What did you do?* Simply do http POST request, I want to login with http client to the server https://github.com/qianguozheng/goadmin.git, but it not work out. If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link o