Skip to content
/ ready-set-go Public template

A minimal Go starter project for building a web api

License

Notifications You must be signed in to change notification settings

dpbrackin/ready-set-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready Set Go

A minimal Go starter project for building web APIs

Features

  • simple http/net based router with route groups and middleware support
  • session authentication

Tools

  • goose for db migrations
  • sqlc for generating typesafe Go code from sql queries

Getting started

  • Install goose

  • Copy this repository by clicking the Use This Template button.

  • Start a new postgres DB

  • Create an env variable called DB_CONN which should be follow this format

  • Run the migrate command using goose

    $ goose postgres $DB_CONN --dir db/migrations/ up;
    
  • Run go run .

About

A minimal Go starter project for building a web api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages