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

akutz / golf / 15
92%
master: 77%

Build:
Build:
LAST BUILD BRANCH: v0.1.3
DEFAULT BRANCH: master
Ran 08 Sep 2015 10:26PM 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
15

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.

302 of 327 relevant lines covered (92.35%)

4.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15.1 08 Sep 2015 10:26PM UTC 0
92.35
Travis Job 15.1
Source Files on build 15
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #15
  • 0b41df38 on github
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