Giter VIP home page Giter VIP logo

gin-template's People

Contributors

csxuejin avatar songjiayang avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gin-template's Issues

Panic

after running the generator:
cd /hello && GO111MODULE=on go run main.go

INFO[2019-06-25 15:13:47.451482]/Users/apple/workspace/go/pkg/mod/github.com/binatify/gin-template/base/[email protected]/application.go:51 github.com/binatify/gin-template/base/app.NewApplication() Initialized hello in development mode        
PANI[2019-06-25 15:13:59.032466]/Users/apple/workspace/go/pkg/mod/github.com/binatify/gin-template/base/[email protected]/model.go:42 github.com/binatify/gin-template/base/model.NewModel() no reachable servers                         
panic: (*logrus.Entry) (0x17a41a0,0xc0001cb340)

goroutine 1 [running]:
github.com/sirupsen/logrus.Entry.log(0xc000084180, 0xc0001d3470, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /Users/apple/workspace/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:239 +0x2ce
github.com/sirupsen/logrus.(*Entry).Log(0xc0001cb2d0, 0xc000000000, 0xc0001edec0, 0x1, 0x1)
        /Users/apple/workspace/go/pkg/mod/github.com/sirupsen/[email protected]/entry.go:268 +0xed
github.com/sirupsen/logrus.(*Logger).Log(0xc000084180, 0x0, 0xc0001edec0, 0x1, 0x1)
        /Users/apple/workspace/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:192 +0x7f
github.com/sirupsen/logrus.(*Logger).Panic(...)
        /Users/apple/workspace/go/pkg/mod/github.com/sirupsen/[email protected]/logger.go:233
github.com/binatify/gin-template/base/model.NewModel(0xc0000840c0, 0xc000084180, 0xc00002e074)
        /Users/apple/workspace/go/pkg/mod/github.com/binatify/gin-template/base/[email protected]/model.go:42 +0x4b6
gin-template/app/models.SetupModelWithConfig(...)
        /Users/apple/workspace/go/src/bitbucket.org/gedw99/centri/archi/v3/ui/datadriven/gin/gintemplate/hello/app/models/model.go:17
gin-template/app/controllers.NewApplication(0x17b64d7, 0xb, 0xc00002e074, 0x66, 0x0)

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.