u_miscellaneous

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abbreviate

func Abbreviate(str string, maxLength int) string

Abbreviate accept not correct in some cases

func Contains

func Contains[T comparable](arr []T, str T) bool

func Copy

func Copy(dst interface{}, src interface{}) error

func CountCharacterInStr

func CountCharacterInStr(input string, character string) int

func FileExists

func FileExists(filename string) bool

func RemoveSpecialChars

func RemoveSpecialChars(str string) string

func UUID2UInt

func UUID2UInt(uid string) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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