Documentation
¶
Overview ¶
Package graph.stack provides an implementation of the Stack abstract-datastructure, basically providing the standard graph.stack operating primitives.
Author: Mark Summerfield, found in the book: "Programming in Go, Creating Applications for the 21st Century"
Author: Christian Bergum Bergersen, added comments to satisfy Golang code convention.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack []interface{}
Stack is an array data-structure with the properties of a LIFO queue.
func (*Stack) Pop ¶
Pop removes and returns the first(top) element of the graph.stack, or returns an error message if the graph.stack is empty.
Click to show internal directories.
Click to hide internal directories.