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

akutz / golf / 14
77%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2015 10:22PM UTC
Jobs 1
Files 1
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
14

push

travis-ci

akutz
Go List Fields

Go List Fields (Golf) is a package for the Go language that makes it
incredibly simple to get a list of fields from any type using the Field
Output through Reflective Evaluation function, otherwise known as Fore:

    type Person struct {
        Name string
    }

    p := &Person{"Batman"}

    fields := golf.Fore("hero", p)

    for k,v := range fields {
        fmt.Printf("%s=%v\n", k,v)
    }

The above example will emit the following:

    hero.Name=Batman

A simple example, the true power of Golf is in its configuration
options.

327 of 327 new or added lines in 1 file covered. (100.0%)

302 of 327 relevant lines covered (92.35%)

4.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
25
100.0
golf.go
Jobs
ID Job ID Ran Files Coverage
1 14.1 08 Sep 2015 10:22PM UTC 0
92.35
Travis Job 14.1
Source Files on build 14
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14
  • 0b41df38 on github
  • Next Build on master (#19)
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