Documentation ¶
Index ¶
- Variables
- func Base64Decode(data string) string
- func Base64Encode(data string) string
- 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 FileExists(name string) (bool, error)
- func GenUID(sequence int, lengthNumber int, charMaxLenght int) string
- func GenUIDToAlpha(num int, addString string, ln int) string
- func GenerateQRCode(data string, savepath string, size int) error
- func InArray(val interface{}, array interface{}) (index int)
- func IsDateTimeValue(stringDate string) bool
- func IsDateValue(stringDate string) bool
- func IsJSON(s string) bool
- func IsTimeValue(stringDate string) bool
- func JsonDecode(data string) (map[string]interface{}, error)
- func JsonEncode(data interface{}) (string, error)
- func JsonReqBody(c *gin.Context) (map[string]interface{}, error)
- func NumberFormat(number float64, decimals uint, decPoint, thousandsSep string) string
- func RandString(n int) string
- func RandStringFromDb(n int, db *gorm.DB, table string, cols string) string
- func SaveFileToDisk(fileNameBase string, data string) (string, error)
- func SaveImageToDisk(fileNameBase, data string) (string, error)
- func StructToJson(b interface{}) map[string]string
- func Telegram(botToken, chatID, message string) error
- type DataTableConfig
- type DataTableOutput
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Base64Decode ¶
func Base64Encode ¶
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 FileExists ¶
func IsDateTimeValue ¶
func IsDateValue ¶
func IsTimeValue ¶
func JsonReqBody ¶
parse json requst Body
func NumberFormat ¶
func RandString ¶
func SaveImageToDisk ¶
func StructToJson ¶
Types ¶
type DataTableConfig ¶
type DataTableOutput ¶
Click to show internal directories.
Click to hide internal directories.