gopy/_examples/cpkg/run.go

22 lines
397 B
Go

// 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.
// +build ignore
package main
import (
"fmt"
"github.com/go-python/gopy/_examples/cpkg"
)
func main() {
fmt.Printf("hello from go\n")
cpkg.Hello("me")
fmt.Printf("bye me\n")
cpkg.Hello("you")
fmt.Printf("bye you\n")
}