func init() {
	Couch = couch.New(nil, DEBUG)
	Client = couch.NewClient(Couch)
	Database = couch.NewDatabase(Client, DBNAME)
	Document = couch.NewDocument(Database, "_id", DOCID)
}
Exemple #2
0
func init() {
	Couch = couch.New(nil, DEBUG)
	Client = couch.NewClient(Couch)
	Database = couch.NewDatabase(Client, DBNAME)
}