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
3
doc.go
3
doc.go
|
@ -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.
|
||||||
|
@ -21,6 +21,5 @@ 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
|
||||||
|
|
Loading…
Reference in New Issue