Coder Social home page Coder Social logo

golang_api's Introduction

API接口

安装依赖项

go get -u github.com/beego/bee
go get -u github.com/astaxie/beego
go get -u github.com/dgrijalva/jwt-go
go get github.com/astaxie/beego/orm
go get -u github.com/go-sql-driver/mysql
go get github.com/nfnt/resize

运行

bee run -downdoc=true -gendoc=true

版本信息

______                                           ______
| ___ \                                          | ___ \
| |_/ /  ___   ___                               | |_/ /  ___   ___
| ___ \ / _ \ / _ \                              | ___ \ / _ \ / _ \
| |_/ /|  __/|  __/                              | |_/ /|  __/|  __/
\____/  \___| \___| v1.10.0                      \____/  \___| \___| v1.10.0

├── Beego     : 1.11.2                           ├── Beego     : 1.11.2
├── GoVersion : go1.11.2                         ├── GoVersion : go1.10.4
├── GOOS      : windows                          ├── GOOS      : linux
├── GOARCH    : amd64                            ├── GOARCH    : amd64
├── NumCPU    : 12                               ├── NumCPU    : 6
├── GOPATH    : C:\Users\Administrator\go        ├── GOPATH    : /home/xm/go/src/golang_api:/home/xm/go
├── GOROOT    : D:/Golang                        ├── GOROOT    : /usr/lib/go-1.10
├── Compiler  : gc                               ├── Compiler  : gc
└── Date      : Sunday, 19 May 2019              └── Date      : Monday, 20 May 2019

发布

Linux

runmode = prod

bee pack
nohup ./golang_api &

Server on: http://127.0.0.1:8080/swagger.

错误信息

golang_api's People

Contributors

tecode avatar

Watchers

 avatar

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.