Add comments on some exported resources

This commit is contained in:
Yann Hamon 2020-06-04 00:51:36 +02:00
parent eb6a2b12b7
commit f64ecad867
5 changed files with 11 additions and 0 deletions

View file

@ -22,6 +22,7 @@ type jsono struct {
nValid, nInvalid, nErrors, nSkipped int
}
// JSON will output the results of the validation as a JSON
func JSON(w io.Writer, withSummary bool, verbose bool) Output {
return &jsono{
w: w,

View file

@ -14,6 +14,7 @@ type text struct {
nValid, nInvalid, nErrors, nSkipped int
}
// Text will output the results of the validation as a text
func Text(w io.Writer, withSummary, verbose bool) Output {
return &text{
w: w,