All Projects → bench → generator-go

bench / generator-go

Licence: MIT license
A Yeoman generator to scaffold a simple golang application

Programming Languages

javascript
184084 projects - #8 most used programming language
go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to generator-go

Generator
Rails-inspired generator system that provides scaffolding for your apps
Stars: ✭ 1,000 (+2073.91%)
Mutual labels:  yeoman, scaffold
generator-deepexi-spring-cloud
deepexi java scaffold(spring cloud) generator
Stars: ✭ 30 (-34.78%)
Mutual labels:  yeoman, scaffold
Generate
A new command line tool and developer framework for scaffolding out GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.
Stars: ✭ 238 (+417.39%)
Mutual labels:  yeoman, scaffold
generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (-2.17%)
Mutual labels:  yeoman, scaffold
Generator Gulp Express Webapp
Yeoman generator for building a simple web app using express + gulp. This project contains proper project and build structure to be easily extensible.
Stars: ✭ 8 (-82.61%)
Mutual labels:  yeoman, scaffold
Generator Sails Rest Api
Yeoman generator for scaffolding Sails REST API with predefined features
Stars: ✭ 336 (+630.43%)
Mutual labels:  yeoman, scaffold
generator-omaha
Yeoman generator designed to help you craft sustainable code for the modern web
Stars: ✭ 12 (-73.91%)
Mutual labels:  yeoman, scaffold
Project Name
Get the name of a project from package.json, git config, or basename of the current working directory.
Stars: ✭ 8 (-82.61%)
Mutual labels:  yeoman, scaffold
Generator Standard Readme
Scaffold out a Standard Readme
Stars: ✭ 150 (+226.09%)
Mutual labels:  yeoman, scaffold
dddplus-archetype-demo
♨️ Using dddplus-archetype build a WMS in 5 minutes. 5分钟搭建一个仓储中台WMS!
Stars: ✭ 56 (+21.74%)
Mutual labels:  scaffold
generator-kodi-addon
Yeoman generator for the most common Kodi addon types.
Stars: ✭ 69 (+50%)
Mutual labels:  yeoman
Generator Api
🚀 Yeoman generator for creating RESTful NodeJS APIs, using ES6, Mongoose and Express
Stars: ✭ 247 (+436.96%)
Mutual labels:  yeoman
generator-nullfactory-xrm
Yeoman generator for Dynamics 365 Solutions. It generates a project structure that facilitates the quick creation builds and automated release strategies with minimal effort.
Stars: ✭ 15 (-67.39%)
Mutual labels:  yeoman
vue-boilerplate
An opinionated Vue.js 2 boilerplate with Vue Router, AVA and Istanbul
Stars: ✭ 27 (-41.3%)
Mutual labels:  scaffold
generator-alfresco
A Yeomen generator based on the Alfresco all-in-one Maven archetype with some generators and an opinionated project structure.
Stars: ✭ 27 (-41.3%)
Mutual labels:  yeoman
hyper
🎨 Hyper: A component-first CSS design system.
Stars: ✭ 26 (-43.48%)
Mutual labels:  scaffold
Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (+406.52%)
Mutual labels:  yeoman
generator-laravel-5
Scaffold Laravel 5.7 applications with ease.
Stars: ✭ 19 (-58.7%)
Mutual labels:  yeoman
laravel-scaffold
Laravel + Inertia (Vue) + Tailwind Scaffold for new Projects
Stars: ✭ 33 (-28.26%)
Mutual labels:  scaffold
generator-create-docusaurus
A generator for new docusaurus projects.
Stars: ✭ 13 (-71.74%)
Mutual labels:  yeoman

A non-opinionated golang code generator

A Yeoman generator for the golang programming language.

What is golang ?

See the Golang documentation

Why a generator ?

The Golang team defined guidelines to organize code and structure an application.

The generator builds a standard directory hierarchy complying with those guidelines.

Usage

  1. Install yeoman
$ npm install -g yo
  1. Install the generator
$ npm install generator-go
  1. Run the generator
$ yo go

That's all folks !

This will generate a minimalist directory hierarchy, a makefile and a .gitignore in your $GOPATH folder.

$GOPATH folder
└── src
    └── github.com
        └── myapp
            ├── hello
            │   ├── hello.go       # source file
            │   └── hello_test.go  # test file
            ├── main.go            # app entrypoint
            ├── Makefile
            ├── README.md
            └── .gitignore

Once built, go into application folder. You can then

Run your application with

$ make run

Compile sources and build binary with

$ make install

Run all tests suite with

$ make test

And clean up with

$ make clean

How to contribute

  1. Fork the project

  2. Clone your forked project locally

$ git clone https://github.com/your_repo/generator-go.git
$ cd generator-go
  1. Modify sources

  2. Symlink the package folder

$ sudo npm link
  1. Test your generator
$ yo go
  1. Submit a pull request

This project welcomes all contributors, feel free to apply !

Dependencies

This project depends on

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].