command
module
Version:
v0.0.0-...-0d82576
Opens a new window with list of versions in this module.
Published: Oct 25, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
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 .
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
db
|
|
|
|
|
|
Pakage router implements simple http routing using net/http.
|
Pakage router implements simple http routing using net/http. |
Click to show internal directories.
Click to hide internal directories.