iris/_examples/mvc/overview/database/mysql.go

11 lines
180 B
Go
Raw Normal View History

package database
import "fmt"
type mysql struct{}
func (db *mysql) Exec(q string) error {
// simulate an error response.
return fmt.Errorf("mysql: not implemented <%s>", q)
}