util

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(md metadata.Metadata, keys ...string) (v bool)

func GetDuration

func GetDuration(md metadata.Metadata, keys ...string) (v time.Duration)

func GetFloat

func GetFloat(md metadata.Metadata, keys ...string) (v float64)

func GetInt

func GetInt(md metadata.Metadata, keys ...string) (v int)

func GetString

func GetString(md metadata.Metadata, keys ...string) (v string)

func GetStringMap

func GetStringMap(md metadata.Metadata, keys ...string) (m map[string]any)

func GetStringMapString

func GetStringMapString(md metadata.Metadata, keys ...string) (m map[string]string)

func GetStrings

func GetStrings(md metadata.Metadata, keys ...string) (ss []string)

func IsExists

func IsExists(md metadata.Metadata, keys ...string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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