Can't go get, error in cmd_build.go
- 主要语言
- Go
- 星标
- 2.3k
- 派生
- 136
- 平均合并
- 14 分钟
- 30 天内合并 PR
- 2
描述
Hello, I'm getting this error trying to go get
For reference I'm on an Apple m1 chip
```
go get github.com/go-python/gopy
# github.com/go-python/gopy
../go/src/github.com/go-python/gopy/cmd_build.go:34:9: cannot use *flag.NewFlagSet("gopy-build", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as type "flag".FlagSet in struct literal
../go/src/github.com/go-python/gopy/cmd_build.go:60:51: cmdr.Flag.Lookup("output").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:61:44: cmdr.Flag.Lookup("name").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:62:44: cmdr.Flag.Lookup("main").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:63:40: cmdr.Flag.Lookup("vm").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:64:59: cmdr.Flag.Lookup("package-prefix").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:65:52: cmdr.Flag.Lookup("rename").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:66:50: cmdr.Flag.Lookup("symbols").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:67:49: cmdr.Flag.Lookup("no-warn").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:68:49: cmdr.Flag.Lookup("no-make").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:68:49: too many errors
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。