parent
ca0116a15f
commit
8ebf38a472
|
@ -8,10 +8,18 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
testPackages()
|
||||
m := testMachine()
|
||||
testPackages(m)
|
||||
}
|
||||
|
||||
func testPackages() {
|
||||
func testMachine() *zoopb.Machine {
|
||||
var m *zoopb.Machine
|
||||
m = new(zoopb.Machine)
|
||||
m.Hostname = "zookeeper"
|
||||
return m
|
||||
}
|
||||
|
||||
func testPackages(m *zoopb.Machine) {
|
||||
var all *zoopb.Packages
|
||||
all = new(zoopb.Packages)
|
||||
// r = zoopb.LoadJSON("go.wit.com/lib/protobuf/zoopb")
|
||||
|
|
Loading…
Reference in New Issue