database

package
v0.30.11 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FunctionBrowse = "browse"
	FunctionRead   = "read"
	FunctionEdit   = "edit"
	FunctionAdd    = "add"
	FunctionDelete = "delete"
	FunctionOther  = "other"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BreadOps

type BreadOps struct {
	Name   string
	Browse []string
	Read   []string
	Edit   []string
	Add    []string
	Delete []string
}

BreadOps uses the BREAD acronym to store identifiers for each operation.

func NewBreadOps

func NewBreadOps(name string) BreadOps

func (*BreadOps) TrimSpace

func (bo *BreadOps) TrimSpace(dedupe, sort bool)

Directories

Path Synopsis
examples
sql

Jump to

Keyboard shortcuts

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