codeclimate/test-reporter

View on GitHub
formatters/gocov/example/bar/bar.go

Summary

Maintainability
A
0 mins
Test Coverage
package bar

type Bar struct{}

func New() *Bar {
    return &Bar{}
}

func (b *Bar) String() string {
    return "bar"
}

func (b *Bar) Bytes() []byte {
    return []byte("bar")
}