gorm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source source

func (*Source) Open

func (s *Source) Open(string) (fs.File, error)

Open method Get not implemented

func (*Source) ReadFile

func (s *Source) ReadFile(_ string) ([]byte, error)

ReadFile method Get not implemented

type SystemConfig

type SystemConfig struct {
	gorm.Model
	Name        string `gorm:"column:name" json:"name"`
	Ext         string `gorm:"column:ext" json:"ext"`
	Description string `gorm:"column:description" json:"description"`
	Tags        []Tag  `gorm:"-" json:"tags"`
	Metadata    []byte `gorm:"column:metadata" json:"metadata"`
}

SystemConfig system config

func (*SystemConfig) GenerateBytes

func (c *SystemConfig) GenerateBytes() ([]byte, error)

GenerateBytes generate bytes

type Tag

type Tag struct {
	Name     string `json:"name"`
	Value    string `json:"value"`
	DataType string `json:"dataType"`
}

Tag tag

Jump to

Keyboard shortcuts

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