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

akutz / gotopt / 34
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feature/usage
DEFAULT BRANCH: master
Ran 05 Feb 2016 11:12PM UTC
Jobs 1
Files 6
Run time 1s
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
34

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.

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

572 of 820 relevant lines covered (69.76%)

0.7 hits per line

New Missed Lines in Diff

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

Uncovered Existing Lines

Lines Coverage ∆ File
99
100.0
getopt.go
Jobs
ID Job ID Ran Files Coverage
1 34.1 05 Feb 2016 11:12PM UTC 0
69.76
Travis Job 34.1
Source Files on build 34
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #34
  • a011cb93 on github
  • Prev Build on feature/gotopt (#32)
  • Next Build on feature/gotopt (#36)
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