dotgo

command module
v0.0.0-...-a4c06db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 4 Imported by: 0

README

Dot Go Simple MVC Generator

Simple MVC Generator

Getting Started

Prerequisites
  • httprouter - github.com/julienschmidt/httprouter
  • sqlq - github.com/valuppo/sqlq
go get github.com/julienschmidt/httprouter
go get github.com/valuppo/sqlq
Installing
  • Get this library using go get
go get github.com/valuppo/dotgo
  • Install this library
cd $GOPATH/src/github.com/valuppo/dotgo
go build
go install
How To Use
  • Init new project
    Required : PROJECT_NAME
    Optional : PROJECT_PATH (if not specified it will used current directory '.' as path)
dotgo init <PROJECT_NAME> [PROJECT_PATH]
  • Create new Model
    Required : MODEL_NAME
cd <PROJECT_DIR>
dotgo model <MODEL_NAME>
  • Create new Controller
    Required : CONTROLLER_NAME
cd <PROJECT_DIR>
dotgo controller <CONTROLLER_NAME>

Built With

Authors

  • Antony Gunawan - Initial work - valuppo

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL