strings

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone added in v1.0.0

func Clone(s string) string

TODO: replace it when the go version upgrades 1.18

func ContainsInterface

func ContainsInterface(s interface{}, sub string) bool

func EqualInterface

func EqualInterface(i interface{}, s string) bool

func SortIsEqual added in v1.0.0

func SortIsEqual(a, b []string) bool

SortIsEqual compares if two sorted strings are the equal

func UnionSlice

func UnionSlice(s []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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