Skip to content

Torniojaws/go-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-crud

Minimal CRUD in Go with Gin framework

Install

  1. Install Go
  2. Add the GOPATH to .bash_profile; export GOPATH=~/go
  3. Install the package manager: sudo apt install go-dep
  4. Add and enter the project path:
    mkdir -p $GOPATH/src/github.com/go-crud
    cd $GOPATH/src/github.com/go-crud
    
  5. Init the project dep init(needs a dummy Go file in the root)
  6. Install the project dependencies: dep ensure
    1. Or add new ones: dep ensure -add github.com/some/project
    2. Update existing ones: dep ensure -update
  7. Start the project with go run main.go
  8. Browse to http://localhost:8080/v1/hello

About

Minimal CRUD in Go with Gin framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published