Parser for the ndb file format
Go to file
2013-07-21 10:34:47 -04:00
ndb.go Change Emit -> Marshal, Parse -> Unmarshal to fit in with rest of std library 2013-07-15 10:21:14 -04:00
read_test.go Change Emit -> Marshal, Parse -> Unmarshal to fit in with rest of std library 2013-07-15 10:21:14 -04:00
read.go Feature complete. I may change the names, and error-handling needs to be more robust. I feel pretty good about resisting bad input, but not so good about saving to or writing from complex data structures, or maps with interface{} elements. 2013-07-15 10:16:10 -04:00
README Rename README.md to README 2013-07-21 10:34:47 -04:00
write_test.go Change Emit -> Marshal, Parse -> Unmarshal to fit in with rest of std library 2013-07-15 10:21:14 -04:00
write.go Feature complete. I may change the names, and error-handling needs to be more robust. I feel pretty good about resisting bad input, but not so good about saving to or writing from complex data structures, or maps with interface{} elements. 2013-07-15 10:16:10 -04:00

This is library loads lines of text in a simple attr=value format into
arbitrary Go data structures, and encodes Go data structures into
lines of text in the same format. The format is inspired by the Plan 9
network database format, seen here:

http://plan9.bell-labs.com/magic/man2html/6/ndb

The format is the same, except that values may be quoted with single
quotes to contain white space. The package can be installed with 
	
	`go get go.aqwari.us/encoding/ndb`

Once installed, documentation can be viewed with the godoc tool.