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

akutz / gotopt / 50
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feature/usage
DEFAULT BRANCH: master
Ran 08 Feb 2016 04:24PM UTC
Jobs 1
Files 6
Run time 3s
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
50

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.

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

669 of 961 relevant lines covered (69.61%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
log.go
1
100.0
utils.go
4
100.0
errors.go
4
100.0
getopt_long.go
29
100.0
getopt.go
45
100.0
gotopt.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 50.1 08 Feb 2016 04:24PM UTC 0
69.61
Travis Job 50.1
Source Files on build 50
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #50
  • bf02a772 on github
  • Prev Build on feature/gotopt (#48)
  • Next Build on feature/gotopt (#52)
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