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

akutz / gotopt / 32
69%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feature/usage
DEFAULT BRANCH: master
Ran 01 Feb 2016 05:56PM 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
32

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.

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

568 of 816 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
9
100.0
gotopt.go
19
100.0
getopt.go

Uncovered Existing Lines

Lines Coverage ∆ File
10
100.0
getopt.go
Jobs
ID Job ID Ran Files Coverage
1 32.1 01 Feb 2016 05:56PM UTC 0
69.61
Travis Job 32.1
Source Files on build 32
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #32
  • 55b99f1a on github
  • Prev Build on feature/gotopt (#31)
  • Next Build on feature/gotopt (#34)
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