geeorm

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (engine *Engine) Close()

func (*Engine) Migrate

func (engine *Engine) Migrate(value interface{}) error

func (*Engine) NewSession

func (engine *Engine) NewSession() *session.Session

func (*Engine) Transaction

func (engine *Engine) Transaction(f TxFunc) (result interface{}, err error)

type TxFunc

type TxFunc func(*session.Session) (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL