structuredvaluetype

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertStructuredValueType

func InsertStructuredValueType(structuredValueType StructuredValueType) (int, error)

func RemoveStructuredValueType

func RemoveStructuredValueType(structuredValueTypeID int) error

func UpdateStructuredValueType

func UpdateStructuredValueType(structuredValueType StructuredValueType) error

Types

type StructuredValueType

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

StructuredValueType

func GetStructuredValueType

func GetStructuredValueType(structuredValueTypeID int) (*StructuredValueType, error)

func GetStructuredValueTypeList

func GetStructuredValueTypeList(ids []int) ([]StructuredValueType, error)

func GetTopTenStructuredValueTypes

func GetTopTenStructuredValueTypes() ([]StructuredValueType, error)

Jump to

Keyboard shortcuts

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