Skip to content

docs: add Valuer interface documentation and example#1540

Open
wofiporia wants to merge 1 commit intogo-playground:masterfrom
wofiporia:docs/valuer-interface-examples
Open

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

Conversation

@wofiporia
Copy link

@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
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

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

2 participants