util

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA256 added in v0.0.66

func SHA256(in string) (string, error)

SHA256 returns the SHA256 hash of a string

func SHA256File added in v0.0.66

func SHA256File(file string) (string, error)

SHA256File returns the SHA256 hash of a file

func SendEmail added in v0.0.41

func SendEmail(host, user, pass, to, subject, body string) error

SendEmail sends an email

func StrSliceContains

func StrSliceContains(array []string, element string) bool

StrSliceContains runs a linear search over a string array

Types

This section is empty.

Jump to

Keyboard shortcuts

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