specification

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TableName = "specification"
)

Variables

This section is empty.

Functions

func Delete

func Delete(where map[string]interface{}) error

func Insert

func Insert(data *Specification) error

func Update

func Update(where, data map[string]interface{}) error

Types

type Specification

type Specification struct {
	SpecID int64 `gorm:"primaryKey"`
	Spec   string
}

func Find

func Find(where map[string]interface{}) ([]Specification, error)

func FindOne

func FindOne(where map[string]interface{}) (Specification, error)

Jump to

Keyboard shortcuts

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