stringutil

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 38

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capitalize added in v1.13.11

func Capitalize(str string) string

Capitalize returns a copy of the string str with the first letter mapped to its upper case.

func Concat

func Concat(parts ...string) string

Concat concatenates parts of a string together.

func Diff

func Diff(new, old []string) (add, del []string)

Diff calculates difference of two sorted string (in ASC order).

func String

func String(b []byte) string

String returns a string value whose underlying bytes is b.

Since Go strings are immutable, the bytes passed to String must not be modified afterwards.

Types

This section is empty.

Jump to

Keyboard shortcuts

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