GithubHelp home page GithubHelp logo

Comments (1)

rmb122 avatar rmb122 commented on August 20, 2024

我本地是可以编译的, 是不是代理没设置好或者其他网络问题 🤔

# rmb122 @ rmb122-laptop in /tmp/rogue_mysql_server on git:master ✔ [12:59:19]
$ sudo docker run -v $PWD:/src --rm -it golang
Unable to find image 'golang:latest' locally
llatest: Pulling from library/golang
bc0734b949dc: Pull complete
b5de22c0f5cd: Pull complete
917ee5330e73: Pull complete
bed956b3d08c: Pull complete
76a498520fee: Pull complete
49fe8346018f: Pull complete
Digest: sha256:672a2286da3ee7a854c3e0a56e0838918d0dbb1c18652992930293312de898a6
Status: Downloaded newer image for golang:latest
root@c807c3964dbf:/go# cd /src
root@c807c3964dbf:/src# ls
LICENSE.txt  Makefile  README.md  README_EN.md	config.yaml  go.mod  go.sum  loot  main.go  mysql  rogue_mysql_server  test
root@c807c3964dbf:/src# go env -w 'GOPROXY=https://goproxy.cn,direct'
root@c807c3964dbf:/src# go build -buildvcs=false
go: downloading gopkg.in/yaml.v2 v2.2.5
go: downloading github.com/sirupsen/logrus v1.4.2
go: downloading vitess.io/vitess v3.0.0-rc.3.0.20190602171040-12bfde34629c+incompatible
go: downloading golang.org/x/net v0.0.0-20200602114024-627f9648deb9
go: downloading golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading google.golang.org/grpc v1.30.0
go: downloading github.com/golang/protobuf v1.4.2
go: downloading google.golang.org/protobuf v1.23.0
go: downloading google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
root@c807c3964dbf:/src# ls
LICENSE.txt  Makefile  README.md  README_EN.md	config.yaml  go.mod  go.sum  loot  main.go  mysql  rogue_mysql_server  test
root@c807c3964dbf:/src# ./rogue_mysql_server
INFO[2023-12-29 05:07:02] Server started at [0.0.0.0:3306]
^C

from rogue_mysql_server.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.