• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-ozzo / ozzo-validation / 75
99%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2018 06:40PM UTC
Jobs 3
Files 13
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
75

push

travis-ci

qiangxue
Adding a new validator for Not-In  (#40)

* Fix styling on go files.

There were a couple of big issues.
1) Structs that were returned from public methods were not visible.
2) When a var is set in the same line as it is declared you should use type inference.
	not: var silly int = 42
	but: var silly = 42
3) Errors should be named ErrSomethingBad, not SomethingBadError

* New validator that checks if a value is not in a list of values.

This can be used to check for blacklisted values, or ensure an itemis unique.

20 of 20 new or added lines in 1 file covered. (100.0%)

571 of 571 relevant lines covered (100.0%)

64.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 75.1 20 Mar 2018 06:40PM UTC 0
100.0
Travis Job 75.1
2 75.2 20 Mar 2018 06:40PM UTC 0
100.0
Travis Job 75.2
3 75.3 20 Mar 2018 06:43PM UTC 0
100.0
Travis Job 75.3
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #75
  • 01aa4006 on github
  • Prev Build on master (#74)
  • Next Build on master (#77)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc