From fa2ae3371d93feeb42712854850f52a8c6a4582c Mon Sep 17 00:00:00 2001 From: "Randall C. O'Reilly" Date: Tue, 15 Nov 2022 02:36:11 -0800 Subject: [PATCH] more gofmt fixes.. I guess v19 gofmt is now formatting comments -- goimports is not doing this? probably I need to update. --- doc.go | 5 ++--- gopyh/handle.go | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc.go b/doc.go index 54dd844..4116741 100644 --- a/doc.go +++ b/doc.go @@ -6,7 +6,7 @@ gopy generates (and compiles) language bindings that make it possible to call Go code and pass objects from Python. -Using gopy +# Using gopy gopy takes a Go package and generates bindings for all of the exported symbols. The exported symbols define the cross-language interface. @@ -20,7 +20,6 @@ Go. Start with a Go package: func Hello(name string) { fmt.Println("Hello, %s!\n", name) - } - + } */ package main diff --git a/gopyh/handle.go b/gopyh/handle.go index 8e39bbf..469c864 100644 --- a/gopyh/handle.go +++ b/gopyh/handle.go @@ -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) { if handle < 1 { return