Documentation
¶
Index ¶
- func DeleteAuthersId(c *gin.Context)
- func DeleteBooksId(c *gin.Context)
- func DeleteCategoriesId(c *gin.Context)
- func GetAuthers(c *gin.Context)
- func GetAuthersId(c *gin.Context)
- func GetBooks(c *gin.Context)
- func GetBooksId(c *gin.Context)
- func GetCategories(c *gin.Context)
- func GetCategoriesId(c *gin.Context)
- func Index(c *gin.Context)
- func NewRouter() *gin.Engine
- func PatchAuthersId(c *gin.Context)
- func PatchBooksId(c *gin.Context)
- func PatchCategoriesId(c *gin.Context)
- func PostAuthers(c *gin.Context)
- func PostBooks(c *gin.Context)
- func PostCategories(c *gin.Context)
- type Auther
- type Book
- type Category
- type Result
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
type Route struct { // Name is the name of this Route. Name string // Method is the string for the HTTP method. ex) GET, POST etc.. Method string // Pattern is the pattern of the URI. Pattern string // HandlerFunc is the handler function of this route. HandlerFunc gin.HandlerFunc }
Route is the information for every URI.
Click to show internal directories.
Click to hide internal directories.