Comments (5)
I will look into it, thanks!
from validator.
it helps with parallel benchmarks a bit and slightly increases the non parallel ones, but it's negligible.
since this library is fully thread safe and I suspect will be used within a webserver or some other logic that will be parallelized this change will help with that.
so going forward with the change.
from validator.
Awesome, here another advantage:
- less code -> less possible bugs
😄
from validator.
True,
ok v5.10 is now out, I had to drop support for go 1.2 for this change, but I think that's more than justified.
from validator.
@joeybloggs yes! I think it is ok to drop support for Go 1.2.
Go 1.4.2 is the most stable version to date and it is the default one in Google App Engine, so...
from validator.
Related Issues (20)
- Using required_with tag for a slice field, but need it's length greater than 0 if it is not nil, how write tag?
- exclude multiple characters in ascii hex form
- [resolved]Question: validate the member of slice HOT 1
- non-validate Custum Field Types cause panic: reflect: call of reflect.Value.Type on zero Value HOT 1
- dive behaviour HOT 2
- required_if does not work with boolean fields (again) HOT 1
- panic: Bad field name provided HOT 5
- Required behaviour changed for time.Time HOT 3
- performance: min, max validators have to constantly parse param
- URL validation fails for file:/// HOT 1
- There's no translation for rule "startswith"
- Weird panic - Undefined validation function 'required' on field XXX HOT 4
- Validation constraints execute even when field is not required due to required_without
- Is it possible to use the json tag to show the error message? HOT 1
- uuid validation fails with valid uuid HOT 2
- comparison tag for string
- Validator not enforced on embedded type HOT 2
- Access to StructField object in FieldError HOT 3
- Dive on a struct now panics. It didn't fail before HOT 2
- How to get index current validated struct inside custom validation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from validator.