func New(filename string) (store *Store, err error) {

	// Verify the file can be opened.
	var file *os.File
	if file, err = os.OpenFile(filename, os.O_RDWR|os.O_CREATE, 0666); nil != err {
		return
	}

	store = &Store{
		file: file,
	}
	return
}
// New data store object.
New data store object.
// New data store object .
func New(filename string) (store *Store, err error) {
	var file *os.File
	if file, err = os.OpenFile(filename, os.O_RDWR|os.O_CREATE, 0666); nil != err {
		return
	}
	store = &Store{
		file: file,
	}
	return
}
func New ( filename string ) ( store * Store , err error ) { var file * os . File if file , err = os . OpenFile ( filename , os . O_RDWR | os . O_CREATE , 0666 ) ; nil != err { return } store = & Store { file : file , } return }
New data store object.
New data store object .
// Verify the file can be opened.