mirror of https://github.com/go-python/gopy.git
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:
parent
d2379001f2
commit
fa2ae3371d
5
doc.go
5
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue