gorm

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Config added in v0.3.0

type Config struct {
	Decrypt    bool   `json:"decrypt"`
	DecryptKey string `json:"decrypt_key"`
}

type DataSource

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

func GetDataSource

func GetDataSource() DataSource

type Repository

type Repository interface {
	gorm.Repository
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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