std

package
v4.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package std provides tools for standard types (strings, int, floats, etc).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseCellsDuration

func ParseCellsDuration(s string) (time.Duration, error)

ParseCellsDuration wraps standard time.ParseDuration supporting the "d" unit (as day)

func Randkey

func Randkey(n int) string

Randkey produces a random string with a given length

func Retry

func Retry(ctx context.Context, f func() error, seconds ...time.Duration) error

Retry function

Types

This section is empty.

Jump to

Keyboard shortcuts

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