Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.07 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.07 KB

Golang/Gorilla + MySQL/SQLX Example

Go Report Card

An example of how we can organize work with sqlx and MySql in Golang/Http and Gorilla web toolkit.

Also used Negroni HTTP Middleware and Angular.js MVW Framework for frontend.

Used libraries and frameworks:

1. Gorrila
2. Negroni
3. Sqlx
4. Angular.js

Install:

go get -u github.com/gkiryaziev/go-gorilla-sqlx

Edit configuration

Copy `config.default.yaml` to `config.yaml` and edit configuration.

Build and Run:

go build && go-gorilla-sqlx

Packages:

You can use glide packages manager to get all needed packages.

go get -u -v github.com/Masterminds/glide

cd go-gorilla-sqlx && glide install