💾 Archived View for code.pfad.fr › gohmekit › cmd › generate captured on 2023-12-28 at 15:34:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

🚧 View Differences

-=-=-=-=-=-=-

generate command - code.pfad.fr/gohmekit

go install code.pfad.fr/gohmekit/cmd/generate@latest

Types

type Category

type Category struct {
	Name     string `json:"Name"`
	Category int    `json:"Category"`
}

type Characteristic

type Characteristic struct {
	UUID        string `json:"UUID"`
	Name        string `json:"Name"`
	Constraints struct {
		ValidBits    map[string]string `json:"ValidBits"`
		ValidValues  map[string]string `json:"ValidValues"`
		MinimumValue interface{}       `json:"MinimumValue"`
		StepValue    interface{}       `json:"StepValue"`
		MaximumValue interface{}       `json:"MaximumValue"`
	} `json:"Constraints,omitempty"`
	Format      string   `json:"Format"`
	Permissions []string `json:"Permissions,omitempty"`
	Properties  []string `json:"Properties"`
	Unit        string   `json:"Unit,omitempty"`
}

type Metadata

type Metadata struct {
	Categories      []Category       `json:"Categories"`
	Characteristics []Characteristic `json:"Characteristics"`
	Version         string           `json:"Version"`
	Services        []struct {
		OptionalCharacteristics []string `json:"OptionalCharacteristics,omitempty"`
		RequiredCharacteristics []string `json:"RequiredCharacteristics"`
		Name                    string   `json:"Name"`
		UUID                    string   `json:"UUID"`
	} `json:"Services"`
}

Files

categories.go

characteristics.go

main.go

services.go

type.go

Breadcrumb

code.pfad.fr/gohmekit