package main import ( "fmt" "packs/simple" ) func main() { // Just use some of the useless stuff from the package. // Set a variable from there, with package name qualifier. simple.Label = "This Test" // Declare a local variable with type from the package, package name // qualifier. var col simple.Collection // Operate on the object with methods from the package, but they // need only the object name to qualify. col.Init(115,37) col.Move(20) col.Sort() // Note the use of the non-method function from the package. fmt.Println(simple.Version()+":",col.Report()); }