Documentation ¶
Index ¶
- func JSON(c *gin.Context, data interface{}, err error)
- func WriteFile(c *gin.Context, data []byte, fileName string)
- func WriteFileCSV(c *gin.Context, data []byte, fileName string)
- func WriteFileHTML(c *gin.Context, data []byte, fileName string)
- func WriteFilePDF(c *gin.Context, data []byte, fileName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFileCSV ¶
WriteFileCSV writes file to response
func WriteFileHTML ¶
WriteFileHTML writes file to response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.