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

thedevsaddam / govalidator / 198
62%
master: 89%

Build:
Build:
LAST BUILD BRANCH: feature/list
DEFAULT BRANCH: master
Ran 03 Jan 2019 08:35AM UTC
Jobs 9
Files 9
Run time 6min
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

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

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%)

175.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 198.1 03 Jan 2019 08:35AM UTC 0
88.16
Travis Job 198.1
2 198.2 03 Jan 2019 08:36AM UTC 0
89.46
Travis Job 198.2
3 198.3 03 Jan 2019 08:37AM UTC 0
89.46
Travis Job 198.3
4 198.4 03 Jan 2019 08:37AM UTC 0
89.46
Travis Job 198.4
5 198.5 03 Jan 2019 08:37AM UTC 0
89.46
Travis Job 198.5
6 198.6 03 Jan 2019 08:39AM UTC 0
89.46
Travis Job 198.6
7 198.7 03 Jan 2019 08:38AM UTC 0
89.46
Travis Job 198.7
8 198.8 03 Jan 2019 08:38AM UTC 0
89.46
Travis Job 198.8
9 198.9 03 Jan 2019 08:42AM UTC 0
89.46
Travis Job 198.9
Source Files on build 198
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #198
  • 8625caec on github
  • Next Build on v2 (#211)
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