Documentation
¶
Index ¶
- Constants
- func ConvertBoolenFromString(value string, defaultValue bool) bool
- func GetDateRangeFromURLQuery(c *gin.Context, maxIntervalDay int64) (int64, int64, error)
- func GetPageInfo(c *gin.Context, maxRows int) (int, int, error)
- func GetQueryBool(c *gin.Context, key string, defaultValue bool) bool
- func GetQueryDate(c *gin.Context, key string, defaultValue time.Time) time.Time
- func GetQueryInt(c *gin.Context, key string, defaultValue int) int
- func GetQueryInt64(c *gin.Context, key string, defaultValue int64) int64
Constants ¶
View Source
const FALSEString = "FALSE"
FALSEString for false string
View Source
const TRUEString = "TRUE"
TRUEString for true string
Variables ¶
This section is empty.
Functions ¶
func ConvertBoolenFromString ¶
ConvertBoolenFromString get bool value from string value
func GetDateRangeFromURLQuery ¶
GetDateRangeFromURLQuery fetch startDate and endDate from url querystring
func GetPageInfo ¶
GetPageInfo fetch pageNo & pageRow in url querystring
func GetQueryBool ¶
GetQueryBool get bool value from url querystring
func GetQueryDate ¶
GetQueryDate get datetime value from url querystring
func GetQueryInt ¶
GetQueryInt get int value from url querystring
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.