-
(Resource | Go-fiber http backend api)[https://dev.to/hackmamba/build-a-rest-api-with-golang-and-mongodb-fiber-version-4la0]
-
The go.sum file contains all the dependency checksums, and is managed by the go tools. We don’t have to worry about it.
-
configs is for modularizing project configuration files
-
controllers is for modularizing application logics.
-
models is for modularizing data and database logics.
-
responses is for modularizing files describing the response we want our API to give. This will become clearer later on.
-
routes is for modularizing URL pattern and handler information.
-
why need to use context and cancellation in go-fiber controller: https://www.sohamkamani.com/golang/context-cancellation-and-values/
-
Fiber comes with the fiber.Map() method, which is basically a shortcut for map[string]interface{}
-
Notifications
You must be signed in to change notification settings - Fork 0
akshay1027/crud-go
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
go-fiber | mongodb | CRUD
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published