genmai.go
func (db *DB) DropTable(table interface{}) error {
	_, _, tableName, err := db.tableValueOf("DropTable", table)
	if err != nil {
		return err
	}
	query := fmt.Sprintf("DROP TABLE %s", db.dialect.Quote(tableName))
	stmt, err := db.prepare(query)
	if err != nil {
		return err
	}
	defer stmt.Close()
	if _, err = stmt.Exec(); err != nil {
		return err
	}
	return nil
}
func (db *DB) DropTable(table interface{}) error {
	_, _, tableName, err := db.tableValueOf("DropTable", table)
	if err != nil {
		return err
	}
	query := fmt.Sprintf("DROP TABLE %s", db.dialect.Quote(tableName))
	stmt, err := db.prepare(query)
	if err != nil {
		return err
	}
	defer stmt.Close()
	if _, err = stmt.Exec(); err != nil {
		return err
	}
	return nil
}
// DropTable removes the table from database.
// If table isn't direct/indirect struct, it returns error.