more gofmt fixes.. I guess v19 gofmt is now formatting comments -- goimports is not doing this? probably I need to update.

This commit is contained in:
Randall C. O'Reilly 2022-11-15 02:36:11 -08:00
parent d2379001f2
commit fa2ae3371d
2 changed files with 3 additions and 4 deletions

5
doc.go
View File

@ -6,7 +6,7 @@
gopy generates (and compiles) language bindings that make it possible to call Go code gopy generates (and compiles) language bindings that make it possible to call Go code
and pass objects from Python. and pass objects from Python.
Using gopy # Using gopy
gopy takes a Go package and generates bindings for all of the exported gopy takes a Go package and generates bindings for all of the exported
symbols. The exported symbols define the cross-language interface. symbols. The exported symbols define the cross-language interface.
@ -20,7 +20,6 @@ Go. Start with a Go package:
func Hello(name string) { func Hello(name string) {
fmt.Println("Hello, %s!\n", name) fmt.Println("Hello, %s!\n", name)
} }
*/ */
package main package main

View File

@ -159,7 +159,7 @@ func DecRef(handle CGoHandle) {
} }
} }
// IncRef increments the reference count for the specified handle. // IncRef increments the reference count for the specified handle.
func IncRef(handle CGoHandle) { func IncRef(handle CGoHandle) {
if handle < 1 { if handle < 1 {
return return