Documentation
¶
Overview ¶
redactgen generates RedactSecrets methods for the structs marked with the //redactgen:gen comment.
Sensitive fields are marked with the `redact:"..."` struct tag, and the generated code takes care of walking the struct (including the nested structs, slices and maps) to find them.
Click to show internal directories.
Click to hide internal directories.