delivery

package
v0.0.0-...-921fe37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommentRoute

func NewCommentRoute(handlers *gin.Engine, cuc models.CommentUsecase, puc models.PhotoUsecase)

func NewPhotoRoute

func NewPhotoRoute(handlers *gin.Engine, puc models.PhotoUsecase)

func NewSocialMediaRoute

func NewSocialMediaRoute(handlers *gin.Engine, cuc models.SocialMediaUsecase)

func NewUserRoute

func NewUserRoute(handlers *gin.Engine, uuc models.UserUsecase)

Types

type ErrorResponse

type ErrorResponse struct {
	Error   string `json:"error" example:"error"`
	Message string `json:"message" example:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL