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