【问题标题】:playground - timeout running go build游乐场 - 超时运行 go build
【发布时间】:2021-02-11 17:17:56
【问题描述】:

当我尝试在playground (snippet) 上运行代码 sn-p 时,出现错误:

timeout running go build
go: finding module for package github.com/spf13/viper
go: downloading github.com/spf13/viper v1.7.1
go: found github.com/spf13/viper in github.com/spf13/viper v1.7.1
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/spf13/pflag v1.0.3
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/yaml.v2 v2.2.4
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/spf13/afero v1.1.2
go: downloading golang.org/x/text v0.3.2
go: downloading golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0

要运行代码“playground”必须下载viper,它是传递依赖。

我假设“操场”对获取依赖项有限制。 我能解决吗❓

【问题讨论】:

    标签: go go-playground


    【解决方案1】:

    playground - 超时运行 go build [...] 我可以解决它吗❓

    没有。对不起。

    Playground 是一个playground,而不是构建服务器或应用程序服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-12-20
      • 2019-12-03
      • 1970-01-01
      • 2017-01-15
      • 2013-04-29
      • 2020-01-05
      • 2021-01-02
      相关资源
      最近更新 更多