payload

package
v0.0.0-...-06831c0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBool

func ParseBool(s string) bool

parseUInt64 parses a string to uint64

func ParseFilterState

func ParseFilterState(s string) filter.State

func ParseISODatePtrWithErr

func ParseISODatePtrWithErr(s string) (*time.Time, error)

func ParseISODateWithErr

func ParseISODateWithErr(s string) (time.Time, error)

func ParseInt

func ParseInt(s string) int

ParseInt parses a string to int

func ParseInt64

func ParseInt64(s string) int64

ParseInt64 parses a string to int64

func ParseJSONTextWithErr

func ParseJSONTextWithErr(s string) (types.JSONText, error)

func ParseMeta

func ParseMeta(ss []string) (m map[string]any, err error)

similar to labels.ParseStrings but for map[string]any

func ParseUint

func ParseUint(s string) uint

ParseUInt parses a string to uint64

func ParseUint64

func ParseUint64(s string) uint64

ParseUint64 parses an string to uint64

func ParseUint64s

func ParseUint64s(ss []string) []uint64

ParseUint64s parses a slice of strings into a slice of uint64s

func ParseUints

func ParseUints(ss []string) []uint

ParseUint64s parses a slice of strings into a slice of uint64s

func Uint64stoa

func Uint64stoa(uu []uint64) []string

func Uint64toa

func Uint64toa(i uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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