1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-16 02:22:15 +00:00

orm fix for support custom field

This commit is contained in:
slene
2013-11-01 23:54:28 +08:00
parent a4df6e403c
commit 1d44018128
3 changed files with 7 additions and 63 deletions

View File

@@ -16,7 +16,6 @@ type Fielder interface {
FieldType() int
SetRaw(interface{}) error
RawValue() interface{}
Clean() error
}
type Ormer interface {
@@ -84,17 +83,6 @@ type RawSeter interface {
Prepare() (RawPreparer, error)
}
type IFieldError interface {
Name() string
Error() error
}
type IFieldErrors interface {
Get(string) IFieldError
Set(string, IFieldError)
List() []IFieldError
}
type stmtQuerier interface {
Close() error
Exec(args ...interface{}) (sql.Result, error)