An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
-
Updated
May 28, 2020 - Go
An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
Add a description, image, and links to the ozzo topic page so that developers can more easily learn about it.
To associate your repository with the ozzo topic, visit your repo's landing page and select "manage topics."
When using the
Query.Onemethod to populate a single row from the database (like below), it would seem to me like the implication is that it will only select a single row by adding aLIMIT 1to the query. However, it appears to run the full query without a limit and drops all but the first row. This can be quite expensive if you weren't expecting it.Should
Query.One()add aLIMIT 1? I