Documentation ¶ Overview ¶ Command hooks shows WithHook for two jobs: transforming a resolved value (normalise a string) and validating one (reject an out-of-range port), both operating on the already-converted, field-typed value. Run it: go run ./examples/hooks Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.