database

package
v0.64.5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 2 Imported by: 1

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