Skip to content

mmidzik/simple_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Just a simple go CRUD app

Adapted from this post with the goal of using as few outside packages as possible.

go get github.com/gorilla/mux
go get github.com/jinzhu/gorm
go get github.com/mattn/go-sqlite3
go run .

To run w/ autoreloads,

go get github.com/silenceper/gowatch
gowatch

curl -i -X POST -H "Content-Type: application/json" -d "{ \"firstname\": \"Test\", \"lastname\": \"User\" }" http://localhost:8080/user

curl http://localhost:8080/users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages