stringutil

package
v3.1.0-M1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllExceptLastElement

func GetAllExceptLastElement(str string, separator string) string

GetAllExceptLastElement returns all elements except the last one of a "separator-separated" string

func GetLastElement

func GetLastElement(str string, separator string) string

GetLastElement returns the last element of a "separator-separated" string

func UniqueTimestampedName

func UniqueTimestampedName(prefix string, suffix string) string

UniqueTimestampedName generates a time-stamped name for temporary file or directory by instance

Types

This section is empty.

Jump to

Keyboard shortcuts

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