stack.go
func OpenStack(filename string) (*Stack, error) {
	file, err := os.OpenFile(filename, os.O_CREATE|os.O_RDWR, 0755)
	if err != nil {
		return nil, err
	}
	return NewStack(file)
}
func OpenStack(filename string) (*Stack, error) {
	file, err := os.OpenFile(filename, os.O_CREATE|os.O_RDWR, 0755)
	if err != nil {
		return nil, err
	}
	return NewStack(file)
}
func OpenStack ( filename string ) ( * Stack , error ) { file , err := os . OpenFile ( filename , os . O_CREATE | os . O_RDWR , 0755 ) if err != nil { return nil , err } return NewStack ( file ) }
// OpenStack - open or create stack
OpenStack - open or create stack