Skip to content

Commit e119d86

Browse files
🩹 📝 Corrected comment formating to please godoc
see: https://go.dev/doc/effective_go#commentary
1 parent 65cf550 commit e119d86

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

reader.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// Package pbm implements a Portable Bit Map. (PBM) image decoder and encoder. The supported image
2+
// color model is color.RGBAModel.
3+
//
4+
// The PBM specification is at http://netpbm.sourceforge.net/doc/pbm.html.
5+
package pbm
6+
17
// Copyright [2022] slashformotion
28

39
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -11,12 +17,6 @@
1117
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1218
// See the License for the specific language governing permissions and
1319
// limitations under the License.
14-
package pbm
15-
16-
// Package pbm implements a Portable Bit Map. (PBM) image decoder and encoder. The supported image
17-
// color model is color.RGBAModel.
18-
//
19-
// The PBM specification is at http://netpbm.sourceforge.net/doc/pbm.html.
2020

2121
import (
2222
"bufio"

writer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package pbm
2+
13
// Copyright [2022] slashformotion
24

35
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,8 +14,6 @@
1214
// See the License for the specific language governing permissions and
1315
// limitations under the License.
1416

15-
package pbm
16-
1717
import (
1818
"bufio"
1919
"errors"

0 commit comments

Comments
 (0)