Generates a lean and mean Go web project.

  3 Templates to Choose From

  • Core (for those who don't want to use a database)
  • PostgreSQL (this is the default setting)
  • MySQL


  • PostgreSQL or MySQL, if you choose to use them
  • Go programming language, version 1.3.x or newer
  • Ensure $GOPATH/bin is in your $PATH

  Get Started

# 1. Fetch go-bootstrap
go get github.com/go-bootstrap/go-bootstrap

# 2. Generate new project
$GOPATH/bin/go-bootstrap -dir github.com/$GIT_USER/$PROJECT_NAME -template {core|postgresql|mysql}

# 3. Go to your project and run it.
cd $GOPATH/src/github.com/$GIT_USER/$PROJECT_NAME && go run main.go

  Open Source

go-bootstrap is released under the MIT License and maintained on GitHub.

Star Fork Watch

  Hacker News   Reddit Golang

  Decisions Made for You