tools

package
v0.0.0-...-16605f2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindLongestStringLen

func FindLongestStringLen(x []string) int

FindLongestStringLen returns the length of the longest string in a slice of strings

func GetAlphabetChar

func GetAlphabetChar(i int) string

func GetCharNumber

func GetCharNumber(i string) int

func MakeRuneSlice

func MakeRuneSlice(r rune, length int) (o []rune)

MakeRuneSlice returns a slice of runes of len length, with each run being rune r

func RightPadString

func RightPadString(in string, newLen int, pad rune) string

RightPadString pads a string to a specific length with a specific character

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳