Skip to content

linuxmidhun/go-mux-mvc-mysql-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mux-mvc-mysql-boilerplate

go-mux-mvc boilerplate with mysql database

setup

  • download this repo at your root project

  • run the following script in your mysql workspace

    CREATE DATABASE sample;

    DROP TABLE IF EXISTS data; CREATE TABLE data ( id int(6) unsigned NOT NULL AUTO_INCREMENT, text varchar(30) NOT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;

note

  • router at controllers/controllers.go

env

  • PORT: ex 8008

About

go-mux-mvc boilerplate with mysql database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages