Skip to content

Commit

Permalink
Add package GoDoc for some internal packages (revive)
Browse files Browse the repository at this point in the history
    internal/maint/maint.go:1:1: package-comments: should have a package comment (revive)
    package maint // import "gotest.tools/v3/internal/maint"
    internal/format/diff.go:1:1: package-comments: should have a package comment (revive)
    package format
    icmd/internal/stub/main.go:1:1: package-comments: should have a package comment (revive)
    package main
    internal/source/defers.go:1:1: package-comments: should have a package comment (revive)
    package source
    internal/assert/assert.go:1:1: package-comments: should have a package comment (revive)
    package assert

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Oct 4, 2022
1 parent b881b33 commit 77e24c3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions icmd/internal/stub/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package main produces a test-binary used in tests.
package main

import (
Expand Down
1 change: 1 addition & 0 deletions internal/assert/assert.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package assert provides internal utilties for assertions.
package assert

import (
Expand Down
1 change: 1 addition & 0 deletions internal/format/diff.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package format provides utilities for formatting diffs and messages.
package format

import (
Expand Down
2 changes: 2 additions & 0 deletions internal/maint/maint.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Package maint implements assert.TestingT for uses outside of test cases,
// for example, in a TestMain.
package maint // import "gotest.tools/v3/internal/maint"

import (
Expand Down
1 change: 1 addition & 0 deletions internal/source/source.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package source provides utilities for handling source-code.
package source // import "gotest.tools/v3/internal/source"

import (
Expand Down

0 comments on commit 77e24c3

Please sign in to comment.