stringutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int64

func Int64(v string) (int64, error)

Int64 parse the string to int64

func IsEmpty

func IsEmpty(s string) bool

IsEmpty is empty or whitespace string

func String

func String(v any) string

String parse the v to string

Types

type ToString

type ToString interface {
	// String return current format info
	String() string
}

ToString support to convert the current instance to string value

Jump to

Keyboard shortcuts

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