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

akutz / gotopt / 38
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feature/usage
DEFAULT BRANCH: master
Ran 07 Feb 2016 07:53AM UTC
Jobs 1
Files 6
Run time 0s
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
38

push

travis-ci

akutz
GotOpt Parse

This patch adds the GotOpt Parser, a usability layer on top of the pure
getop functionality. The GotOpt Parser receives parsed options on a
channel, a channel which can also receive any parsing errors, and will
always send any remaining command line argument as a []string as the
last element on the channel before it is closed. Please be aware if
there are no non-option arguments to send, no string array is sent prior
to the channel being closed. See the gotopt_test.go for an example of
how to use the GotOpt Parser.

247 of 247 new or added lines in 5 files covered. (100.0%)

642 of 916 relevant lines covered (70.09%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
log.go
1
100.0
utils.go
19
100.0
getopt.go
35
100.0
gotopt.go

Uncovered Existing Lines

Lines Coverage ∆ File
99
100.0
getopt.go
Jobs
ID Job ID Ran Files Coverage
1 38.1 07 Feb 2016 07:53AM UTC 0
70.09
Travis Job 38.1
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • e3865e2b on github
  • Prev Build on feature/gotopt (#36)
  • Next Build on feature/gotopt (#40)
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