Skip to content

johnscode/go-fiber-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-fiber-template

A simple golang app template using fiber and the 'handlebars' template engine. This app template makes it pretty easy to get a server and a set of pages up and running.

This app template is already setup with logging and configuration using the server environment. Environment is used for configuration rather than files to discourage the use of secrets files (which is a whole other conversation)

Zerolog is used for logging its efficiency rather than the builtin log module.

The handlebars engine is used rather than golang's html template as it is easier to support multiple layouts. It's not too hard to change the template engine, if you prefer one of the other supported ones. See Fiber template docs for more info.

To Do

  • dockerize it

About

a boilerplate webapp template using golang, fiber, and handlebars templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published