utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCallValue

func DefaultCallValue(typ reflect.Type) reflect.Value

DefaultCallValue other param set default value

func Md5String

func Md5String(s string) string

func SplitFuncName

func SplitFuncName(name string) (string, string)

SplitFuncName *

  • return (struct,func)

Types

type Map added in v0.1.0

type Map[K string, V any] struct {
	// contains filtered or unexported fields
}

func (*Map[K, V]) Get added in v0.1.0

func (m *Map[K, V]) Get(name K) (v1 V)

func (*Map[K, V]) Range added in v0.1.0

func (m *Map[K, V]) Range(f func(K, V))

func (*Map[K, V]) Set added in v0.1.0

func (m *Map[K, V]) Set(name K, v V)

Jump to

Keyboard shortcuts

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