Skip to content
/ dawn Public

⛵ An opinionated lightweight framework to build web api or applications. On top of Fiber.

License

Notifications You must be signed in to change notification settings

go-dawn/dawn

Repository files navigation

Dawn

Dawn is an opinionated web framework that provides rapid development capabilities which on top of fiber. It provides basic services such as configuration, logging, fiber extension, gorm extension, and event system.

The core idea of ​​Dawn is modularity. High-level business modules can invoke low-level modules, such as databases, cache and so on. Following the idea of ​​DDD, each module corresponds to a domain and can be easily converted into microservices.

Each module needs to implement its own two core methods of Init and Boot, and then register it in Sloop. General business modules need to implement its RegisterRoutes method to register routes and provide http services.

The modules should be based on the principle of not recreating the wheel, and directly provides the original structure and method of the dependent library.

The libraries currently used are

Notice

This project is still under development, please do not use it in a production environment.

Why dawn?

Tribute to the first episode of one piece romance dawn. Let us set sail towards romance with the sloop.