app

package
v0.0.0-...-5bdf5b5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway interface {
	app.Controller
	Insert() error
	Update() error
	Remove() error
}

A Gateway represents the way between a model's object and the database

func New

func New(ctx context.Context, app app.Controller) Gateway

New builds a gateway for the provided app

Jump to

Keyboard shortcuts

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