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

uber-go / fx / 2781 / 2
91%
master: 92%

Build:
Build:
LAST BUILD BRANCH: glue-dig-b3
DEFAULT BRANCH: master
Ran 17 Apr 2017 07:34PM UTC
Files 55
Run time 2s
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

17 Apr 2017 07:27PM UTC coverage: 92.119% (-0.1%) from 92.231%
DOCKER_GO_VERSION=1.8 CI_TEST_CMD=coveralls

push

travis-ci

web-flow
Introduce a command line provider (#461)

Our documentation states that service roles can be overridden from command line,
but we never actually had a config provider that takes data from arguments
passed to a program.

We use "github.com/ogier/pflag" package to read command line flags, because
the standard one isn't POSIX compatible(it can be easily replaced with the standard
though by replacing import to "flag", function signatures are exactly the same).

By default flags don't have a support for list values, so we assume list elements
are comma separated. If users want to have different separators, the can create
their own type and set flags via Var

If users want to introduce their own command line parameters, they can use the default pflag
CommandLine variable and
extend the provider.

3109 of 3375 relevant lines covered (92.12%)

139.76 hits per line

Source Files on job 2781.2 (DOCKER_GO_VERSION=1.8 CI_TEST_CMD=coveralls)
  • Tree
  • List 0
  • Changed 17
  • Source Changed 3
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2781
  • Travis Job 2781.2
  • 336d1f18 on github
  • Prev Job for DOCKER_GO_VERSION=1.8 CI_TEST_CMD=coveralls on dev (#2772.2)
  • Next Job for DOCKER_GO_VERSION=1.8 CI_TEST_CMD=coveralls on dev (#2814.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc