Skip to content

Commit 5616b5e

Browse files
committed
Add missing godoc on exported types
1 parent 066da07 commit 5616b5e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

gtr/gtr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
// Result is the result of a test.
1111
type Result int
1212

13+
// Test results.
1314
const (
1415
Unknown Result = iota
1516
Pass

main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// go-junit-report converts `go test` output to a JUnit compatible XML report.
2+
//
3+
// See README.md for more information and usage examples.
14
package main
25

36
import (
@@ -11,6 +14,7 @@ import (
1114
"github.com/jstemmer/go-junit-report/v2/parser/gotest"
1215
)
1316

17+
// Current release information printed by the -version flag.
1418
var (
1519
Version = "v2.0.0-dev"
1620
Revision = "HEAD"

parser/gotest/json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func NewJSONParser(options ...Option) *JSONParser {
1414
return &JSONParser{gp: NewParser(options...)}
1515
}
1616

17-
// Parser is a Go test json output Parser.
17+
// JSONParser is a `go test -json` output Parser.
1818
type JSONParser struct {
1919
gp *Parser
2020
}

0 commit comments

Comments
 (0)