Skip to content

docs: add Valuer interface documentation and example#1540

Merged
nodivbyzero merged 1 commit intogo-playground:masterfrom
wofiporia:docs/valuer-interface-examples
Mar 13, 2026
Merged

docs: add Valuer interface documentation and example#1540
nodivbyzero merged 1 commit intogo-playground:masterfrom
wofiporia:docs/valuer-interface-examples

Conversation

@wofiporia
Copy link
Copy Markdown
Contributor

@wofiporia wofiporia commented Mar 10, 2026

Add documentation for the Valuer interface introduced in #1416.

  • add Valuer interface section and example snippet in doc.go
  • add a new runnable example at _examples/valuer/main.go
  • add Valuer Interface reference in README

Closes #1538

Fixes Or Enhances

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

Add documentation for the Valuer interface
  introduced in go-playground#1416.

  - add Valuer interface section and example snippet
  in doc.go
  - add a new runnable example at _examples/valuer/
  main.go
  - add Valuer Interface entry in README examples list

  Refs go-playground#1538
@wofiporia wofiporia requested a review from a team as a code owner March 10, 2026 03:24
Copy link
Copy Markdown
Member

@zemzale zemzale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nodivbyzero nodivbyzero merged commit 5e1bedf into go-playground:master Mar 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation and examples for valuer interface

3 participants