We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
至少1.7版本吧,看这里https://golang.org/doc/go1.7关于runtime包中的CallersFrames 1.6版本: github.com/hzwy23/asofdate/vendor/go.uber.org/zap/stacktrace.go:63: undefined: runtime.CallersFrames
1.8版本: [root@web asofdate]# ./asofdate create mysql dbhandle success. ./asofdate flag redefined: graceful panic: ./asofdate flag redefined: graceful
goroutine 1 [running]: flag.(*FlagSet).Var(0xc42001c240, 0xe2f6c0, 0xe8d484, 0xb22fc0, 0x8, 0xb3913a, 0x21) /root/go/src/flag/flag.go:793 +0x420 flag.BoolVar(0xe8d484, 0xb22fc0, 0x8, 0x887400, 0xb3913a, 0x21) /root/go/src/flag/flag.go:572 +0x72 github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace.init.1() /root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/grace.go:93 +0x60 github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace.init() /root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/server.go:307 +0x89 github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego.init() /root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/tree.go:581 +0x87 github.com/hzwy23/asofdate/hauth/service.init() /root/goproject/src/github.com/hzwy23/asofdate/hauth/service/sql_define.go:4 +0x7d main.init() /root/goproject/src/asofdate/main.go:16 +0x4e [root@web asofdate]# vim /root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/grace.go [root@web asofdate]# go version go version go1.8.1 linux/amd64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
至少1.7版本吧,看这里https://golang.org/doc/go1.7关于runtime包中的CallersFrames
1.6版本:
github.com/hzwy23/asofdate/vendor/go.uber.org/zap/stacktrace.go:63: undefined: runtime.CallersFrames
1.8版本:
[root@web asofdate]# ./asofdate
create mysql dbhandle success.
./asofdate flag redefined: graceful
panic: ./asofdate flag redefined: graceful
goroutine 1 [running]:
flag.(*FlagSet).Var(0xc42001c240, 0xe2f6c0, 0xe8d484, 0xb22fc0, 0x8, 0xb3913a, 0x21)
/root/go/src/flag/flag.go:793 +0x420
flag.BoolVar(0xe8d484, 0xb22fc0, 0x8, 0x887400, 0xb3913a, 0x21)
/root/go/src/flag/flag.go:572 +0x72
github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace.init.1()
/root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/grace.go:93 +0x60
github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace.init()
/root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/server.go:307 +0x89
github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego.init()
/root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/tree.go:581 +0x87
github.com/hzwy23/asofdate/hauth/service.init()
/root/goproject/src/github.com/hzwy23/asofdate/hauth/service/sql_define.go:4 +0x7d
main.init()
/root/goproject/src/asofdate/main.go:16 +0x4e
[root@web asofdate]# vim /root/goproject/src/github.com/hzwy23/asofdate/vendor/github.com/astaxie/beego/grace/grace.go
[root@web asofdate]# go version
go version go1.8.1 linux/amd64
The text was updated successfully, but these errors were encountered: