utils

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs[T Number](x T) T

func GetPrintableLength added in v0.0.8

func GetPrintableLength(s string) int

func ImplInter

func ImplInter[T any](obj any) bool

func ToStringSlice added in v0.0.9

func ToStringSlice(args ...interface{}) []string

Types

type Number

type Number interface {
	constraints.Integer | constraints.Float
}

Jump to

Keyboard shortcuts

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