Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
api
command
|
|
|
Package docs Code generated by swaggo/swag.
|
Package docs Code generated by swaggo/swag. |
|
auth
Package auth provides tools for handling authentication within the API.
|
Package auth provides tools for handling authentication within the API. |
|
config
Package config provides application configuration settings that are used throughout the application.
|
Package config provides application configuration settings that are used throughout the application. |
|
db
Package db provides functions for establishing and managing database connections used throughout the application.
|
Package db provides functions for establishing and managing database connections used throughout the application. |
|
logger
Package logger provides a function Get that returns a zerolog.Logger instance for global logging, allowing consistent logging throughout the application.
|
Package logger provides a function Get that returns a zerolog.Logger instance for global logging, allowing consistent logging throughout the application. |
|
middleware
Package middleware provides a collection of middleware functions that can be used to enhance and modify the behavior of the application, such as handling requests, logging, authentication, and more.
|
Package middleware provides a collection of middleware functions that can be used to enhance and modify the behavior of the application, such as handling requests, logging, authentication, and more. |
|
models
Package models defines the data models that are mapped to the database.
|
Package models defines the data models that are mapped to the database. |
|
services/response
Package response provides various structs and utility functions for generating consistent API responses, including success and error responses.
|
Package response provides various structs and utility functions for generating consistent API responses, including success and error responses. |
|
store
Package store contains the logic for interacting with the database, including SQL queries and operations that map data between the models and the database.
|
Package store contains the logic for interacting with the database, including SQL queries and operations that map data between the models and the database. |
|
utils
Package utils contains common functionality and helper functions that are used throughout the application.
|
Package utils contains common functionality and helper functions that are used throughout the application. |
|
utils/testutils
Package testutils contains helper functions and utilities to assist with running tests.
|
Package testutils contains helper functions and utilities to assist with running tests. |
|
validate
Package validate contains custom validation functions that can be used with the validator package to perform complex or application-specific validations.
|
Package validate contains custom validation functions that can be used with the validator package to perform complex or application-specific validations. |
Click to show internal directories.
Click to hide internal directories.