gopy/doc.go

27 lines
653 B
Go
Raw Normal View History

2015-01-30 17:01:15 +00:00
// Copyright 2015 The go-python Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
gopy-gen generates language bindings that make it possible to call Go code
and pass objects from Python.
2015-01-30 17:01:15 +00:00
Using gopy-gen
gopy-gen takes a Go package and generates bindings for all of the exported
symbols. The exported symbols define the cross-language interface.
The gopy-gen tool generates both an API stub in Python, and binding code in
Go. Start with a Go package:
package hi
import "fmt"
func Hello(name string) {
fmt.Println("Hello, %s!\n", name)
}
*/
package main