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

uber-go / dig / 317
93%
master: 87%

Build:
Build:
LAST BUILD BRANCH: ajs-vals
DEFAULT BRANCH: master
Ran 01 Jun 2017 07:19PM UTC
Jobs 2
Files 1
Run time 21s
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

pending completion
317

push

travis-ci

web-flow
Support Parameter Objects (#71)

This adds support for parameter objects to Dig. Parameter objects are arguments
to a constructor which contain zero or more fields that are the actual
dependencies for the constructor. Users opt-in for a struct to be interpreted
as a parameter object by embedding the `dig.Param` type into it.

    type Config struct {
        dig.Param

        In io.Reader
        Out io.Writer
    }

    func NewTransport(c Config) (*Transport, error) {
        // ..
    }

75 of 75 new or added lines in 1 file covered. (100.0%)

214 of 233 relevant lines covered (91.85%)

39.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
100.0
dig.go
Jobs
ID Job ID Ran Files Coverage
1 317.1 01 Jun 2017 07:19PM UTC 0
91.85
Travis Job 317.1
2 317.2 01 Jun 2017 07:19PM UTC 0
91.85
Travis Job 317.2
Source Files on build 317
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #317
  • a0a83b49 on github
  • Prev Build on dev (#310)
  • Next Build on dev (#322)
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