gorm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseIsNotOpenedError = errors.New("database is not opened")

Functions

func GetRepository

func GetRepository() *repository

Types

type DataSource

type DataSource interface {
	Open(p *properties) error
	IsOpened() bool
	Close() error
	DB() adapter.DB
}

func GetDataSource

func GetDataSource() DataSource

type Repository

type Repository interface {
	data.Repository
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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