func main() { //var tmp q.Queue this := q.NewQueue() /* queue.q.Insert(2)*/ fmt.Printf("%d\n", this.Len()) this.Insert(2) fmt.Printf("%d\n", this.Len()) fmt.Printf("data: %d\n", this.Remove()) fmt.Printf("%d\n", this.Len()) }
func NewPlace(n uint) *Place { p := new(Place) p.objectQueue = queue.NewQueue() p.nummer = n return p }