func pushItem(s *todo.Stack) { fmt.Println("enter message to push") var i string fmt.Scanf("%s", &i) var pi = todo.NewItem(i) s.Push(pi) return }