hi , where can I get explanation about "binding:"gtfield=CheckIn"

Open
#35 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
30/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
documentation

Research direction

The issue names no documentation file, test, or entry point. Start with the Go example containing binding:"required,gtfield=CheckIn" and locate where validation tags such as eqfield, nefield, and gtefield are documented; done means the relevant explanation and supported tags are clearly identified.

Written by the indexing model from the issue text.

Description

as title, where can I get document about validate properties such as eqfield,nefield,gtefield etc...

type Booking struct { CheckIn time.Time form:"check_in" binding:"required" time_format:"2006-01-02" CheckOut time.Time form:"check_out" binding:"required,gtfield=CheckIn" time_format:"2006-01-02" }

Dominant language
Go
Stars
4.6k
Forks
726
Avg merge
2h 23m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gin-gonic/examples

All issues in gin-gonic/examples

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.