module
Version:
v0.0.0-...-2717cb5
Opens a new window with list of versions in this module.
Published: Jan 30, 2024
License: MIT
Opens a new window with license information.
README
¶
Server
Go Rest Api Starter
Just a minimal golang rest api starter with some basic stuff I always seem to add.
Included
Version go 1.21.5
- dependency injection with Fx
- config using Viper
- ping / account / auth controllers
- password hasher / matcher
- paseto token maker + middleware
- app.env, .air.toml, .gitignore
- usefull Makefile
Packages
- github.com/aead/chacha20poly1305
- github.com/brianvoe/gofakeit/v6
- github.com/gin-gonic/gin
- github.com/google/uuid
- github.com/o1egl/paseto
- github.com/spf13/viper
- github.com/stretchr/testify
- go.mongodb.org/mongo-driver
Usage
- See
make help
for available commands.
Resources
Usage
Just clone it, do a search and replace for oluijks/golang-starter/server
, adjust app.env
, do a make air
and you're good to go.
Directories
¶
|
|
|
|
|
|
cmd
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.