mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-05-20 10:54:28 -05:00
Add missing godoc on exported types
This commit is contained in:
parent
066da07a49
commit
5616b5e921
@ -10,6 +10,7 @@ import (
|
|||||||
// Result is the result of a test.
|
// Result is the result of a test.
|
||||||
type Result int
|
type Result int
|
||||||
|
|
||||||
|
// Test results.
|
||||||
const (
|
const (
|
||||||
Unknown Result = iota
|
Unknown Result = iota
|
||||||
Pass
|
Pass
|
||||||
|
4
main.go
4
main.go
@ -1,3 +1,6 @@
|
|||||||
|
// go-junit-report converts `go test` output to a JUnit compatible XML report.
|
||||||
|
//
|
||||||
|
// See README.md for more information and usage examples.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -11,6 +14,7 @@ import (
|
|||||||
"github.com/jstemmer/go-junit-report/v2/parser/gotest"
|
"github.com/jstemmer/go-junit-report/v2/parser/gotest"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Current release information printed by the -version flag.
|
||||||
var (
|
var (
|
||||||
Version = "v2.0.0-dev"
|
Version = "v2.0.0-dev"
|
||||||
Revision = "HEAD"
|
Revision = "HEAD"
|
||||||
|
@ -14,7 +14,7 @@ func NewJSONParser(options ...Option) *JSONParser {
|
|||||||
return &JSONParser{gp: NewParser(options...)}
|
return &JSONParser{gp: NewParser(options...)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parser is a Go test json output Parser.
|
// JSONParser is a `go test -json` output Parser.
|
||||||
type JSONParser struct {
|
type JSONParser struct {
|
||||||
gp *Parser
|
gp *Parser
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user