Documentation
¶
Index ¶
- func AppendHeaderIfNotExist(headers http.Header, headerName, value string) http.Header
- func AppendMandatoryHeader(ctx context.Context, headers http.Header) http.Header
- func CalculateTotalPages(dataTotalCount int, limit int) int
- func ConvertReflectValueToString(value reflect.Value) string
- func ConvertStringToUint64(value string, defaultVal ...uint64) uint64
- func ConvertUint64ToString(value uint64) string
- func DoSkipNoticeError(ctx *context.Context)
- func DontSkipNoticeError(ctx *context.Context)
- func IndexFloat64(data []float64, target float64) int
- func IndexInt(data []int, target int) int
- func IndexInt64(data []int64, target int64) int
- func IndexString(data []string, target string) int
- func IndexUint64(data []uint64, target uint64) int
- func SkipNoticeError(ctx context.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendHeaderIfNotExist ¶
func AppendMandatoryHeader ¶
func CalculateTotalPages ¶
func ConvertStringToUint64 ¶
func ConvertUint64ToString ¶
func DoSkipNoticeError ¶
func DontSkipNoticeError ¶
func IndexFloat64 ¶
func IndexInt64 ¶
func IndexString ¶
func IndexUint64 ¶
func SkipNoticeError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.