dal/pkg/adapter/types.go
Anton Nesterov b72e67badc
[ref] move sql context to adaper pkg
Signed-off-by: Anton Nesterov <anton@demiurg.io>
2024-08-09 16:56:38 +02:00

11 lines
190 B
Go

package adapter
type CtxOpts map[string]string
type Context interface {
New(opts CtxOpts) Context
GetTableName() string
GetFieldName() string
NormalizeValue(interface{}) interface{}
}