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

thedevsaddam / govalidator
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: feature/list
DEFAULT BRANCH: master
Repo Added 31 Oct 2017 10:57AM UTC
Files 9
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

LAST BUILD ON BRANCH v1.9.5
branch: v1.9.5
CHANGE BRANCH
x
Reset
  • v1.9.5
  • dev
  • feature/file-validation
  • fix/date-validation
  • fix/digits-gt-13
  • fix/numeric-field
  • master
  • revert-19-issue-18
  • v1.2
  • v1.3
  • v1.4
  • v1.5
  • v1.6
  • v1.8
  • v1.9
  • v1.9.1
  • v1.9.10
  • v1.9.2
  • v1.9.3
  • v1.9.4
  • v1.9.6
  • v1.9.7
  • v1.9.8
  • v1.9.9
  • v2

28 Dec 2018 08:31PM UTC coverage: 88.852%. First build
197

push

travis-ci

web-flow
Merge pull request #51 from RexSkz/rex/prevent-panic-caused-by-null-value

If the request body is a JSON like `{"test":null}`, govalidator will panic when executing `traverseMap`.

```go
var m = make(map[string]interface{})
json.Unmarshal([]byte(`{"test":null}`), &m)
```

Since `m["test"]` is `nil`, `reflect.TypeOf(v)` will panic. This PR fixes the bug by dropping null values in json.

1331 of 1498 relevant lines covered (88.85%)

174.34 hits per line

Relevant lines Covered
Build:
Build:
1498 RELEVANT LINES 1331 COVERED LINES
174.34 HITS PER LINE
Source Files on v1.9.5
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
197 v1.9.5 Merge pull request #51 from RexSkz/rex/prevent-panic-caused-by-null-value If the request body is a JSON like `{"test":null}`, govalidator will panic when executing `traverseMap`. ```go var m = make(map[string]interface{}) json.Unmarshal([]by... push 03 Jan 2019 08:34AM UTC web-flow travis-ci
88.85
See All Builds (167)
  • Repo on GitHub
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

© 2025 Coveralls, Inc