Skip to content

Instantly share code, notes, and snippets.

@rugyoga
Created September 5, 2022 01:05
types and constants for audit
@key :__audit_trail__
@enabled? Application.compile_env(:audit, :enabled?, false)
@type file_t :: binary()
@type line_t :: non_neg_integer()
@type trail_t :: {struct(), file_t(), line_t()}
@type change_t :: {struct(), trail_t()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment