Documentation ¶
Index ¶
- func CreateBilling(req models.CreateBillingRequest, db *gorm.DB, userId string) (models.BillingResponse, error)
- func DeleteBilling(BillingId string, userId string, db *gorm.DB) error
- func GetBillingById(BillingId string, db *gorm.DB) (models.Billing, error)
- func GetBillings(db *gorm.DB, c *gin.Context) (int, postgresql.PaginationResponse, error)
- func UpdateBillingById(BillingId string, userId string, req models.UpdateBillingRequest, db *gorm.DB) (models.Billing, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBilling ¶
func CreateBilling(req models.CreateBillingRequest, db *gorm.DB, userId string) (models.BillingResponse, error)
func GetBillings ¶
func GetBillings(db *gorm.DB, c *gin.Context) (int, postgresql.PaginationResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.