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

yarpc / yarpc-go / 4209 / 4
76%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 21 Feb 2017 07:18PM UTC
Files 152
Run time 9s
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

21 Feb 2017 07:10PM UTC coverage: 79.481% (+0.02%) from 79.457%
TYPE=test

push

travis-ci

abhinav
Implement arbitrary interface{} decoder

This implements an internal `decode` package that allows us to decode
any `interface{}` (more specifically, `map[interface{}]interface{}`)
into a more complex object.

This mostly relies on the `mapstructure` library for most of its
functionality with the exception of a custom `Decoder` interface which
types may implement for more complex decoding logic. This is very
similar to the `yaml.Unmarshaler` interface and how that behaves.

We will use this package for the config system to allow decoding
user-provided configurations (in `map[string]interface{}` form) into
something more complex which we need to build a `yarpc.Config`.

6763 of 8509 relevant lines covered (79.48%)

0.85 hits per line

Source Files on job 4209.4 (TYPE=test)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4209
  • Travis Job 4209.4
  • 0afb9a2d on github
  • Prev Job for TYPE=test on decoder (#4190.3)
  • Next Job for TYPE=test on decoder (#4227.3)
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