E5D6 GitHub - libtnb/fiber-skeleton: gofiber/fiber skeleton to powers web projects.
[go: up one dir, main page]

Skip to content
/ fiber-skeleton Public template

gofiber/fiber skeleton to powers web projects.

License

Notifications You must be signed in to change notification settings

libtnb/fiber-skeleton

Repository files navigation

fiber-skeleton

Unlike chi-skeleton, this skeleton uses the incredibly fast Fiber framework, which is generally recommended.

Design

According to the above design concept, the final directory structure of this skeleton is as follows:

  • The cmd directory stores the entry file of the application, one file for each application
  • The config directory stores configuration files, which can have multiple configuration files
  • The internal directory stores various codes of the application
  • The mocks directory stores the generated mock code for testing
  • The pkg directory stores some packages that can be reused by the application
  • The storage directory stores files generated when the application is running
  • The web directory stores the front-end code of the application
  • go.mod and go.sum are used to manage dependencies

The internal directory refers to the design of Kratos, dividing the application into three layers: biz, data, and service, which are responsible for business logic, data access, and service layers respectively.

TODO

  • support protobuf
  • code generation tool

Credits

The development of this project refers to the following projects, I would like to express my gratitude:

About

gofiber/fiber skeleton to powers web projects.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages

0