library

package module
v0.0.0-...-ee48915 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 9 Imported by: 0

README

library

golang utilities.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasHash

func AliasHash(alias string) int64

func AliasHashEncoded

func AliasHashEncoded(alias string) string

func AliasHashEncodedf

func AliasHashEncodedf(format string, args ...any) string

func AliasHashf

func AliasHashf(format string, args ...any) int64

func NextEncodedID

func NextEncodedID() string

func NextID

func NextID() int64

Types

type Fn

type Fn func(context.Context) error

type Group

type Group struct {
	// contains filtered or unexported fields
}

func NewGroup

func NewGroup() *Group

func (*Group) Go

func (g *Group) Go(ctx context.Context, funcs ...Fn)

func (*Group) Wait

func (g *Group) Wait() error

type GroupWithContext

type GroupWithContext struct {
	// contains filtered or unexported fields
}

func NewGroupWithContext

func NewGroupWithContext(ctx context.Context, funcs ...Fn) *GroupWithContext

func (*GroupWithContext) Go

func (gwc *GroupWithContext) Go(funcs ...Fn)

func (*GroupWithContext) Wait

func (gwc *GroupWithContext) Wait() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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