All Versions
7
Latest Version
Avg Release Cycle
71 days
Latest Release
329 days ago

Changelog History

  • v1.2.0 Changes

    October 23, 2020

    You can add custom validation rules for string, int64, and float64.

    v := govalid.New()v.AddCustomInt64Rule("even", func(field string, value int64) string { if value%2 == 0 { return "" } return fmt.Sprintf("%s must be even", field) })type Foo struct { Bar int64 `govalid:"req|even"`}
    
  • v1.1.3

    October 12, 2020
  • v1.1.2

    August 18, 2020
  • v1.1.1

    January 16, 2020
  • v1.1.0

    November 19, 2019
  • v0.0.2

    November 19, 2019
  • v0.0.1

    August 23, 2019