1619f58d78
This is a tiny program that does nothing but exists to demonstrate pkgs.buildGo by building a program that depends on a local library as well as a protobuf definition.
16 lines
299 B
Go
16 lines
299 B
Go
// This program just exists to import some libraries and demonstrate
|
|
// that the build works, it doesn't do anything useful.
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"somelib"
|
|
"someproto"
|
|
)
|
|
|
|
func main() {
|
|
p := someproto.Person{
|
|
Name: somelib.Name(),
|
|
}
|
|
fmt.Println(somelib.Greet(fmt.Sprintf("%v", p)))
|
|
}
|