Skip to content
This repository has been archived by the owner on Oct 8, 2018. It is now read-only.
/ common Public archive

Ory's cross-project go libraries, intended for internal use.

License

Notifications You must be signed in to change notification settings

ory/common

Repository files navigation

ory-am/common

Build Status Coverage Status

A library for common tasks:

  • env adds defaults to os.GetEnv() and saves you 3 lines of code
  • rand is a library based on crypto/rand to create random sequences, which are cryptographically strong.
  • compiler enables you to compile regex expressions from templates like foo{.*}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.