# README
ory-am/common
A library for common tasks:
env
adds defaults toos.GetEnv()
and saves you 3 lines of coderand
is a library based on crypto/rand to create random sequences, which are cryptographically strong.compiler
enables you to compile regex expressions from templates likefoo{.*}bar
. Useful for URL pattern matching.
You'll find READMEs in each package directory.
This library also includes packages called pkg
and context
. Both are subject to frequent changes. Don't use them.
# Packages
No description provided by the author
Package compiler offers a regexp compiler which compiles regex templates to regexp.Regexp
reg, err := compiler.CompileRegex("foo:bar.baz:<[0-9]{2,10}>", '<', '>') // if err != nil ..
No description provided by the author
A very handy library which adds defaults to os.GetEnv().
No description provided by the author
No description provided by the author
No description provided by the author
A library based on crypto/rand to create random sequences.