internal

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil added in v0.10.4

func IsNil(in any) bool

IsNil uses reflection to determine if an object is nil. ().

func IsPtr added in v0.10.4

func IsPtr(in any) bool

IsPtr uses reflection to determine if an object is a pointer.

func LimitExec added in v0.12.0

func LimitExec[T any](in int) (func(func() T) T, error)

func Lock added in v0.12.0

func Lock(mtx *sync.Mutex) *sync.Mutex

func LockL added in v0.12.0

func LockL(mtx sync.Locker) sync.Locker

func TTLExec added in v0.12.0

func TTLExec[T any](dur time.Duration) (func(func() T) T, error)

func Unwind added in v0.10.0

func Unwind[T any](in T) []T

func With added in v0.12.0

func With(mtx *sync.Mutex)

func WithL added in v0.12.0

func WithL(mtx sync.Locker)

Types

type IgnoreNewLinesBuffer added in v0.9.4

type IgnoreNewLinesBuffer struct {
	bytes.Buffer
}

func (*IgnoreNewLinesBuffer) Write added in v0.9.4

func (b *IgnoreNewLinesBuffer) Write(in []byte) (int, error)

func (*IgnoreNewLinesBuffer) WriteString added in v0.9.4

func (b *IgnoreNewLinesBuffer) WriteString(in string) (int, error)

Jump to

Keyboard shortcuts

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