Go语言中文网 为您找到相关结果 12

源码编译遇到的问题

1.4.2源码编译时输出以下错误,哪位知道原因吗? ``` #Building C bootstrap tool. cmd/dist #Building compilers and Go bootstrap tool for host, linux/amd64. lib9 cc1: error: unrecognized command line option "-Wno-missing-field-initializers" cc1: error: unrecognized command line option "-Wno-missing-field-initializers" cc1: error: unrecognized command line option ...阅读全文

dep init 问题

为啥我翻墙了 还是拉取不了 golang.org/x/XXXX?就没有老哥遇到过? 以下是具体的问题 init failed: unable to solve the dependency graph: Solving failure: No versions of github.com/mojocn/base64Captcha met constraints: master: unable to deduce repository and source type for "golang.org/x/image/font": unable to read metadata: unable to fetch raw metadata: failed HTTP reque...阅读全文

在使用gorilla/sessions时遇到了个问题

![1.png](https://static.studygolang.com/171008/3d8e3d0742e3b22a648a285387e8d0bd.png) 我定义了一个结构体user,有id,username,password属性,我想把从数据库拿出来的user整个保存到session里面,以user的id作为key,现在我看到了session里面倒是有个map,是我取session的时候有问题吗?还是说我保存的时候有问题...阅读全文

jaeger-client-go uber 的日志系统 go get 出现错误第一次遇到 求大佬了来了解一下

执行 go get -u -v github.com/uber/jaeger-client-go/ github.com/uber/jaeger-client-go (download) github.com/apache/thrift (download) github.com/opentracing/opentracing-go (download) github.com/uber/jaeger-lib (download) github.com/codahale/hdrhistogram (download) github.com/uber/jaeger-client-go/thrift-gen/sampling github.com/uber/jaeger-cl...阅读全文

mac 10.10.5 go1.9.1版本编译报错,有人遇到过吗?1.8.4版本编译没有问题

mac 10.10.5 go1.9.1版本编译报错 ```console $GOLANG build -race -work -v -a ebike_monitor ebike_monitor/common/request ebike_monitor/common/notice ebike_monitor/services/order ebike_monitor/task ebike_monitor # ebike_monitor /usr/local/go/pkg/tool/darwin_amd64/link: /usr/local/go/pkg/tool/darwin_amd64/link: running dsymutil failed: signal: abort ...阅读全文