utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v1.1.0

func Add(str1, str2 string) (string, error)

Add adds two strings in the sense that each charCode are added

func Extract added in v1.1.0

func Extract(from string, startIndex, desiredLength int) string

Extract returns an extraction of the passed string of the desired length from the passed start index. If the desired length is too long, the string is repeated.

func Hash

func Hash(input []byte) ([]byte, error)

func Split added in v1.1.0

func Split(item string) (left, right string, err error)

Split splits a byte array in two equal parts

Types

This section is empty.

Jump to

Keyboard shortcuts

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