// Closes the database and releases all associated resources. func (d *Database) Close() { C.gdbm_close(d.dbf) }
// Closes a database's internal file pointer. func (db *Database) Close() { C.gdbm_close(db.dbf) }
func (d *gdbm) Close() { C.gdbm_close(d.dbf) if d.closer != nil { d.closer() } }