strutil

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendStrings

func AppendStrings(items ...map[string]string) map[string]string

AppendStrings returns the combied map[string]string

func IndexOfStrings

func IndexOfStrings(array []string, value string) int

IndexOfStrings returns the index of item in strings

Types

type StrUtil added in v0.1.2

type StrUtil interface {
	// IndexOfStrings returns the index of item in strings
	IndexOfStrings(array []string, value string) int
	// AppendStrings returns the combied map[string]string
	AppendStrings(items ...map[string]string) map[string]string
}

StrUtil interface

var Default StrUtil = &strutil{}

Default str util instance

Jump to

Keyboard shortcuts

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