Skip to content

oblank/go-martini-react-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

martini sample

setup db

sqlite3 todo.db

create table todo(id integer primary key autoincrement, content text);

insert into todo(id,content) values (1,'study English');

to start server

export GOPATH=`pwd`

go get github.com/go-martini/martini

go get github.com/mattn/go-sqlite3

go get github.com/martini-contrib/render

go get github.com/codegangsta/martini-contrib/binding

go run server.go

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%