structuredvalue

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertStructuredValue

func InsertStructuredValue(structuredValue StructuredValue) (int, error)

func RemoveStructuredValue

func RemoveStructuredValue(structuredValueID int) error

func UpdateStructuredValue

func UpdateStructuredValue(structuredValue StructuredValue) error

Types

type StructuredValue

type StructuredValue struct {
	ID                    *int      `json:"id"`
	UUID                  string    `json:"uuid"`
	Name                  string    `json:"name"`
	AlternateName         string    `json:"alternateName"`
	StructuredValueTypeID *int      `json:"structuredValueTypeId"`
	CreatedBy             string    `json:"createdBy"`
	CreatedAt             time.Time `json:"createdAt"`
	UpdatedBy             string    `json:"updatedBy"`
	UpdatedAt             time.Time `json:"updatedAt"`
}

StructuredValue

func GetStructuredValue

func GetStructuredValue(structuredValueID int) (*StructuredValue, error)

func GetStructuredValueByStructuredValueTypeIDList

func GetStructuredValueByStructuredValueTypeIDList(structuredValueID int) ([]StructuredValue, error)

func GetStructuredValueList

func GetStructuredValueList(ids []int) ([]StructuredValue, error)

func GetTopTenStructuredValues

func GetTopTenStructuredValues() ([]StructuredValue, error)

Jump to

Keyboard shortcuts

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