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

akutz / gotopt / 44
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feature/usage
DEFAULT BRANCH: master
Ran 07 Feb 2016 03:33PM 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
44

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.

308 of 308 new or added lines in 6 files covered. (100.0%)

657 of 922 relevant lines covered (71.26%)

0.71 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
log.go
1
100.0
utils.go
4
100.0
getopt_long.go
26
100.0
gotopt.go
29
100.0
getopt.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
getopt_long.go
129
100.0
getopt.go
Jobs
ID Job ID Ran Files Coverage
1 44.1 07 Feb 2016 03:33PM UTC 0
71.26
Travis Job 44.1
Source Files on build 44
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #44
  • b649a297 on github
  • Prev Build on feature/gotopt (#42)
  • Next Build on feature/gotopt (#46)
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