Skip to content

Instantly share code, notes, and snippets.

@rugyoga
Created September 5, 2022 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rugyoga/b8dd221d005c9ec24b4277fda81166f1 to your computer and use it in GitHub Desktop.
Save rugyoga/b8dd221d005c9ec24b4277fda81166f1 to your computer and use it in GitHub Desktop.
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