Skip to content

Sharykhin/go-modular

Repository files navigation

Requirements:

install following packages:

go get github.com/abbot/go-http-auth
go get github.com/gorilla/sessions
go get github.com/lib/pq
go get github.com/go-sql-driver/mysql

Compile a project:

  1. Go to you project root
  2. Run the command:
    go build
    

There will be file "go-modular"

Run the application:

  1. Go to your project root
  2. Run the command:
    ./go-modular
    
    
  3. Open browser and type: http://localhost:9002

Development:

  1. Install dependencies:

    npm install

1.1 If you don't have npm, install the node (https://nodejs.org/)

  1. Run the project:

    grunt start

Grunt will restart project in any time, when the go files(*.go) have been changed

About

Simple Go structure with modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published