str

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package str helps with strings

Package str helps with strings

Index

Constants

View Source
const GODisclaimer = `` /* 587-byte string literal not displayed */

GODisclaimer text to be added on top of go files

View Source
const YAMLDisclaimer = `` /* 575-byte string literal not displayed */

YAMLDisclaimer text to be added on top of yaml files

Variables

This section is empty.

Functions

func Find

func Find(slice []string, val string) bool

Find a string in a slice of string. Return true when found else false

func Hash

func Hash(s string) string

Hash used sha1 to hash a string to a shorter one

Types

This section is empty.

Jump to

Keyboard shortcuts

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