text

package module
v0.0.0-...-671dd6f Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 5 Imported by: 0

README

apps-util-text

Helper functions

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EWMEncoding *base64.Encoding
)

Functions

func Base64Decode

func Base64Decode(encoded string) string

func Base64Encode

func Base64Encode(msg string) string

func CheckAddZero

func CheckAddZero(s string) string

func EWMDecodeUUID

func EWMDecodeUUID(c22 string) string

UUID, or GUID, is a 128 bit number used as an ID number. The same number can be represented in different forms.

EWMEncodeUUID() converts hexadecimal to a non-standard base64 used by the EWM system.

EWMDecodeUUID() converts the the non-standard base64 to hexadecimal.

func EWMDecodeUUIDSlower

func EWMDecodeUUIDSlower(c22 string) string

not tested for speed but expect to be slightly slower

func EWMEncodeUUID

func EWMEncodeUUID(hx string) string

UUID, or GUID, is a 128 bit number used as an ID number. The same number can be represented in different forms.

EWMEncodeUUID() converts hexadecimal to a non-standard base64 used by the EWM system.

EWMDecodeUUID() converts the the non-standard base64 to hexadecimal.

func EWMEncodeUUIDSlower

func EWMEncodeUUIDSlower(hex string) string

slightly slower

func EscapeLatex

func EscapeLatex(s string) string

func ValidAlphaNum7

func ValidAlphaNum7(s string) bool

func ValidAlphaNum8

func ValidAlphaNum8(s string) bool

func ValidAlphaNum8To9

func ValidAlphaNum8To9(s string) bool

func ValidDigits20

func ValidDigits20(s string) bool

func ValidDigits4To15

func ValidDigits4To15(s string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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