model

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoData = noData{}

NoData is a model with no data to persist.

Functions

This section is empty.

Types

type Persistable

type Persistable interface {
	Persist(ctx context.Context, db *pg.DB) error
}

type PersistableWithTx added in v0.4.0

type PersistableWithTx interface {
	PersistWithTx(ctx context.Context, tx *pg.Tx) error
}

Directories

Path Synopsis
actors

Jump to

Keyboard shortcuts

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