Skip to content

BrownMark/fiberdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fiber Demo

Small golang POC for using Fiber to handle requests. Demo is set up to do the following:

  • Serve Open API Spec via Swagger.
  • Generate Open API Spec based on convention and using husky.
  • Handle validation on for models.
  • Demonstrate middleware & logging.
  • Make use of existing fiber middleware.
  • Demonstrate routing available via fiber.

Trying Out

In order to run this husky needs to be installed and prepared:

npm install husky -D
npm run prepare

Additionally we need to install SwagGo:

go install github.com/swaggo/swag/cmd/swag@latest

If isn't working, try making sure the GOPATH is correct:

export PATH=$(go env GOPATH)/bin:$PATH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published