Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-gorest

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-gorest

yeoman generator for creating a ready rest api. gorilla mux for routing, logrus for logging , negroni for middleware

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

yeoman generator for a simple go rest api heavily based on the work done here https://github.com/earlonrails/generator-go-microservice

dependencies

  • gorrilla mux for routing
  • negroni for middleware
  • logrus for logging

optional

  • prometheus for metrics
  • mongo

there are options for database support

mongo mgo mysql

usage

install yeoman

npm install yo -g

npm install generator-gorest -g

  
 mkdir $GOPATH/src/github.com/<user>/<appname>
 cd $GOPATH/src/github.com/<user>/<appname>
 yo gorest
 go get .
 go build .
 ./appname serve
 

Keywords

FAQs

Package last updated on 26 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc