stringutil

package
v0.0.0-...-3aa7b29 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRC32

func CRC32(input string) string

func RandomString

func RandomString(length int) string

func StrTrimMiddle

func StrTrimMiddle(s string, maxlen int) string

func StrTrimRight

func StrTrimRight(s string, maxlen int) string

func UniqueWithHash

func UniqueWithHash(basename string, maxlen int) string

Procedurally generate a short string with hash that can be calculated using the base name

Types

This section is empty.

Jump to

Keyboard shortcuts

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