Skip to content

Releases: restuwahyu13/go-playground-converter

v1.0.2.2

02 Mar 08:33
Compare
Choose a tag to compare
  • Wrapper struct FormatError with sync.Pool, for handle trying rewrite same errors value, if errors is same value get errors existing from pool

v1.0.2.1

28 Feb 17:34
Compare
Choose a tag to compare
  • Add validation error if struct is pointer struct
  • Add option in in GoValidator -> func GoValidator(options ...validator.Option) *validator.Validate
  • Add options in Validator -> func Validator(s interface{}, options ...validator.Option) (*FormatError, error)
  • Support with options or without options, for customable refer to doc here

v1.0.2.0

28 Feb 16:53
Compare
Choose a tag to compare
  • Change response payload from Errors to errors
  • Bump crypto lib from version v0.19.0 to v0.20.0

v1.0.2

22 Feb 18:22
1f03b6a
Compare
Choose a tag to compare
  • Optimized code and refactoring old code
  • Change response for validator replace map[string]interface{} to struct FormatError
  • Expose core validator, you can access like this GoValidator
  • Refactoring ambigu test case
  • Add mutex for preventing race condition when append data into slice
  • Upgrade version old dependency from go-playground/validator to latest version
  • Change go version required from go 1.16 into go 1.18, because go standard in most use is min version go 1.18

v1.0.1

12 Nov 11:58
Compare
Choose a tag to compare
  • Remove unused dependency
  • Remove unused struct

v1.0.0

12 Nov 06:54
Compare
Choose a tag to compare
  • Add custom message functionality using struct tags
  • Support for custom message or not custom message

v0.0.9

10 Nov 09:31
Compare
Choose a tag to compare
  • Refactoring functionality
  • Add validation for input value
  • Change return response value

v0.0.8

19 Sep 11:55
6bee1f9
Compare
Choose a tag to compare
  • Typo call naming package gpc not main

v0.0.7

19 Sep 11:52
851e779
Compare
Choose a tag to compare
  • Fixing is a program, not an importable package

v.0.0.6

23 Jun 02:32
Compare
Choose a tag to compare
  • Update pattern for validator struct
  • Format error response to human format
  • Remove unused dependency