goutils

package module
v0.0.0-...-b947d54 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 6 Imported by: 1

README

goutils

Golang utils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(src string) string

func Base64Encode

func Base64Encode(data []byte) string

func IsLowerASCII

func IsLowerASCII(c byte) bool

func IsUpperASCII

func IsUpperASCII(c byte) bool

func LeftOrRight

func LeftOrRight[T any](condition bool, left, right T) T

func MD5

func MD5(data string) string

func SHA1

func SHA1(data string) string

func SHA256

func SHA256(data string) string

func SHA384

func SHA384(data string) string

func SHA512

func SHA512(data string) string

func ToLowerASCII

func ToLowerASCII(c byte) byte

func ToUpperASCII

func ToUpperASCII(c byte) byte

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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