Git Product home page Git Product logo

generator-ibm-core-golang-gin's People

Contributors

alembe avatar mblume97 avatar ndibbern avatar nfstein avatar paulben avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

generator-ibm-core-golang-gin's Issues

panic: html/template: pattern matches no files: `public/*.html`

I just used yo ibm-core-golang-gin to generate webapp code, the code is generated successful

shiming@pro โžœ  ~ yo ibm-core-golang-gin
? ==========================================================================
We're constantly looking for ways to make yo better!
May we anonymously report usage statistics to improve the tool over time?
More info: https://github.com/yeoman/insight & http://yeoman.io
========================================================================== Yes
Missing bluemix parameter
Missing spec parameter
? What is the name of your application? gin-gen
? What type of application are you creating? Webapp
   create .gitignore
   create README.md
   create Gopkg.lock
   create Gopkg.toml
   create run-dev
   create routers/health_test.go
   create plugins/prometheus_collector.go
   create server.go
   create routers/health.go
   create routers/index.go
Your project has been generated at /Users/shiming/Nutstore/5-goland/src/gin-gen

but when I first run the code with the cmd you write in the readme file:

dep ensure
go run server.go

I got an error:

panic: html/template: pattern matches no files: `public/*.html`

I think you can follow my steps and reproduce the error.

swagger in microservice

Hi, I noticed that swagger is used in microservice, if I use swag init, it will get the swagger comments from main.go, but your name is service.go, so it will not be generated.

can you please add some guidelines/examples for swag used in your generated code? I tried several times get is no problem, but post I didn't get it right.

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.