leafFunctions

package
v0.0.0-...-0829b1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2022 License: MIT Imports: 9 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendHeaderIfNotExist

func AppendHeaderIfNotExist(headers http.Header, headerName, value string) http.Header

func AppendMandatoryHeader

func AppendMandatoryHeader(ctx context.Context, headers http.Header) http.Header

func CalculateTotalPages

func CalculateTotalPages(dataTotalCount int, limit int) int

func ConvertReflectValueToString

func ConvertReflectValueToString(value reflect.Value) string

func ConvertStringToUint64

func ConvertStringToUint64(value string, defaultVal ...uint64) uint64

func ConvertUint64ToString

func ConvertUint64ToString(value uint64) string

func DoSkipNoticeError

func DoSkipNoticeError(ctx *context.Context)

func DontSkipNoticeError

func DontSkipNoticeError(ctx *context.Context)

func IndexFloat64

func IndexFloat64(data []float64, target float64) int

func IndexInt

func IndexInt(data []int, target int) int

func IndexInt64

func IndexInt64(data []int64, target int64) int

func IndexString

func IndexString(data []string, target string) int

func IndexUint64

func IndexUint64(data []uint64, target uint64) int

func SkipNoticeError

func SkipNoticeError(ctx context.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL