README ¶ A simple ORM framework written in Go. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Engine func NewEngine(driver, source string) (e *Engine, err error) func (e *Engine) Close() func (e *Engine) Migrate(value any) error func (e *Engine) NewSession() *session.Session func (e *Engine) Transaction(f TxFunc) (result any, err error) type TxFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Engine ¶ type Engine struct { // contains filtered or unexported fields } func NewEngine ¶ func NewEngine(driver, source string) (e *Engine, err error) func (*Engine) Close ¶ func (e *Engine) Close() func (*Engine) Migrate ¶ func (e *Engine) Migrate(value any) error Migrate table func (*Engine) NewSession ¶ func (e *Engine) NewSession() *session.Session func (*Engine) Transaction ¶ func (e *Engine) Transaction(f TxFunc) (result any, err error) type TxFunc ¶ type TxFunc func(*session.Session) (any, error) Source Files ¶ View all Source files sorm.go Directories ¶ Show internal Expand all Path Synopsis clause cmd_test dialect log schema session Click to show internal directories. Click to hide internal directories.