Categorygithub.com/lidstromberg/utils
modulepackage
0.2.0
Repository: https://github.com/lidstromberg/utils.git
Documentation: pkg.go.dev

# README

Utils - they do things.. useful things.. uncategorisable things

Some homeless utilities. They probably aren't useful to you.

# Functions

DrainFn drains a channel until it is closed.
EmailIsValid checks the email string.
FromAvroFile sends back a map of content from an avro file.
GetHashCompare compares a string with the password hash.
GetStringHash hashes a plain text password string.
NewDsKey is datastore specific and returns a key using datastore.AllocateIDs.
NewID returns a new ID from ksuid.
NewIDs returns n new IDs from ksuid.
ToAvroFile writes data from a channel into an Avro file.

# Variables

ErrCredentialsNotCorrect invalid credentials message.