redactgen

command module
v0.0.0-...-4f56e5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: MPL-2.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL