Documentation ¶
Index ¶
- Variables
- func DTExportToExcel(Config DataTableConfig) (string, error)
- func DTGenerateColumn(col []map[string]interface{}) string
- func DTGenerateOrder(col []map[string]interface{}, req map[string]interface{}) string
- func DTGenerateWhere(col []map[string]interface{}, req map[string]interface{}) string
- func DTGeneratorLimit(req map[string]interface{}) string
- func DataTable(Config DataTableConfig) (interface{}, error)
- func DataTableTest() string
- func GenUID(sequence int, lengthNumber int, charMinLenght int) string
- func GenUIDToAlpha(num int, addString string) string
- func JsonDecode(data string) (map[string]interface{}, error)
- func JsonEncode(data interface{}) (string, error)
- func JsonReqBody(c *gin.Context) (map[string]interface{}, error)
- func SaveImageToDisk(fileNameBase, data string) (string, error)
- type DataTableConfig
- type DataTableOutput
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DTExportToExcel ¶
func DTExportToExcel(Config DataTableConfig) (string, error)
func DTGenerateColumn ¶
func DTGenerateOrder ¶
func DTGenerateWhere ¶
func DTGeneratorLimit ¶
func DataTable ¶
func DataTable(Config DataTableConfig) (interface{}, error)
func DataTableTest ¶
func DataTableTest() string
func GenUIDToAlpha ¶
func JsonReqBody ¶
parse json requst Body
func SaveImageToDisk ¶
Types ¶
type DataTableConfig ¶
type DataTableConfig struct { Primary string Where string Group string Order string Result interface{} Column []map[string]interface{} Table string Connection *gorm.DB Request map[string]interface{} }
ykzirla DV8uJq2UWP6BgNa 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
type DataTableOutput ¶
Click to show internal directories.
Click to hide internal directories.