strutil

package
v3.0.0-pre1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanURL

func CleanURL(str string) string

CleanURL removes all parameters from an URL.

func Difference

func Difference(X, Y []string) []string

Difference returns the strings that are present in X but not in Y.

func Intersect

func Intersect(X, Y []string) []string

Intersect returns the strings that are present in both X and Y.

func Substring

func Substring(s string, start, end int) string

Substring returns a substring by [start, end). If start or end are out of bound, it returns "".

Types

This section is empty.

Jump to

Keyboard shortcuts

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