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

matrix-org / util
94%
master: 93%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Repo Added 30 Jan 2017 05:45PM UTC
Files 3
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 kegan/helper-functions
branch: kegan/helper-functions
CHANGE BRANCH
x
Reset
  • kegan/helper-functions
  • HEAD
  • anoa/buildkite_go_mods
  • babolivier/fix-logrus-path
  • kegan/ctx-typesafe-access
  • kegan/custom-error-json
  • kegan/default-cors-impl
  • kegan/json-response
  • kegan/random
  • kegan/req-id-in-ctx
  • kegan/req-to-struct
  • markjh/panic
  • markjh/unique
  • master
  • rav/ContextWithLogger
  • rav/fix_cors_headers
  • rob/expose-json-api-helper
  • rob/request-logging-fix

pending completion
40

push

travis-ci

Kegsay
Add helper functions

- Add `NewJSONRequestHandler` which takes a `func` and turns it into
  a `JSONRequestHandler`. This prevents the same wrapping code being
  written over and over.
- Make `GetLogger(Context)` always return a logger, so callers don't
  need to constantly `nil` check.

110 of 117 relevant lines covered (94.02%)

7.14 hits per line

Relevant lines Covered
Build:
Build:
117 RELEVANT LINES 110 COVERED LINES
7.14 HITS PER LINE
Source Files on kegan/helper-functions
  • Tree
  • 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
40 kegan/helper-functions Add helper functions - Add `NewJSONRequestHandler` which takes a `func` and turns it into a `JSONRequestHandler`. This prevents the same wrapping code being written over and over. - Make `GetLogger(Context)` always return a logger, so callers... push 24 Feb 2017 04:40PM UTC Kegsay travis-ci pending completion  
See All Builds (77)
  • 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