-
package main
import (
"fmt"
"os"
validation "github.com/go-ozzo/ozzo-validation"
)
type user struct {
Name string `json:"name,omitempty"`
Age int `json:"age,omitempty"`
}
fu…
-
See error output:
```
../../../../../../github.com/go-ozzo/ozzo-validation/is/rules.go:12:2: cannot find package "github.com/asaskevich/govalidator" in any of:
/usr/local/Cellar/go/1.11/libexec/…
-
Continuing the topic here.
> Because we are using [CQRS](https://martinfowler.com/bliki/CQRS.html) patter, the way I think validation should be done is for value objects to validate incoming data.…
-
I was browsing the docs and thought that this is a great looking library. However I don't understand why the rules like `LengthRule` are returned as a pointer.
https://github.com/go-ozzo/ozzo-valid…
-
I realized developing Spacemesh requires constant debugging of asynchronous and concurrent operations involving multiple peers communications.
To keep track of all of that, we must establish a reliab…
-
When using embedded structs, the Validate() method of an embedded struct is not getting called when using a pointer receiver for the Validate() method.
https://play.golang.org/p/cLWuqkP8-mY
```
…
-
Are there any way to define error message in another language?
Right now we can define it by using custom error message, but it would be redundant when we validate a bunch of value with the same val…
-
-
[example](https://play.golang.org/p/Ipr692dCfhG)
When validating the struct with validation.ValidateStruct, validation dives into the `Foo` field and gets trapped in an infinite loop. Not sure if I…
-
Hello,
I am a new user to Go and of the library and have found what I think is a bug.
I am trying to validate the following struct
```go
type Team struct {
DisplayName string `j…