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

yarpc / yarpc-go / 4280 / 4
81%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 22 Feb 2017 06:01PM UTC
Files 152
Run time 8s
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

22 Feb 2017 05:54PM UTC coverage: 79.596% (+0.06%) from 79.539%
TYPE=test

push

travis-ci

web-flow
Implement arbitrary interface{} decoder (#746)

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`.

6772 of 8508 relevant lines covered (79.6%)

0.85 hits per line

Source Files on job 4280.4 (TYPE=test)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4280
  • Travis Job 4280.4
  • f7ea1eae on github
  • Prev Job for TYPE=test on dev (#4241.4)
  • Next Job for TYPE=test on dev (#4353.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