package
0.0.0-20201201052906-a54a33a9bc9d
Repository: https://github.com/luids-io/core.git
Documentation: pkg.go.dev

# Functions

Clean removes policy and other stuff from a reason string.
ExtractPolicy extracts a policy from a reason string.
ExtractScore extracts a score from a reason string.
NewPolicy returns a new policy.
WithPolicy inserts a policy inside a reason string.
WithScore inserts a score inside a reason string.

# Structs

Policy stores fields and values (both are strings).