Utilities for working within the openlane ecosystem, high level overview of packages:
- cache: redis client interface
- cli: cli helper utilities for printing rows, tables
- contextx: The contextx package provides helper functions for managing context values, particularly for request-scoped data. It uses generics to simplify the handling of context keys.
- envparse: struct default parsing utility
- gravatar: create sweet robot avatars based on your email
- jsonx: helpers for working with JSON, including decoding, round-tripping, deep merging
json.RawMessageobjects, and generating, validating, and conforming documents against JSON schemas - keygen: The keygen package provides utilities for generating and validating keys. It includes a key generator that can generate keys of any length and a key validator that can validate keys of any length.
- keyring: package keyring allows for quick and easy access to the system keyring service
- mapx: generic helpers for creating, cloning, merging, and querying maps and set-maps, including dotted-path lookups into decoded JSON
- passwd: The passwd package provides cryptographic utilities for handling passwords.
- rout: rout is a semi-centralized method of handling and surfacing user facing errors
- slack: very minimal slack functions for sending messages
- testutils: test utilities!
- ulids: The ulids package is a lightweight wrapper around the github.com/oklog/ulid package. It provides common functionality such as checking if a ULID is null or zero and includes a process-global, cryptographically random, monotonic, and thread-safe ULID generation mechanism.
See the contributing guide for more information.