out_embedded_structs_models

package
v0.17.85 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseElement

type BaseElement struct {
	BaseNode
	Name string `json:"name"`
}

func (BaseElement) GetID

func (this BaseElement) GetID() string

func (BaseElement) GetName

func (this BaseElement) GetName() string

func (BaseElement) IsElement

func (BaseElement) IsElement()

func (BaseElement) IsNode

func (BaseElement) IsNode()

type BaseNode

type BaseNode struct {
	ID string `json:"id"`
}

func (BaseNode) GetID

func (this BaseNode) GetID() string

func (BaseNode) IsNode

func (BaseNode) IsNode()

type Carbon

type Carbon struct {
	BaseElement
	Footprint string `json:"footprint"`
}

func (Carbon) GetID

func (this Carbon) GetID() string

func (Carbon) GetName

func (this Carbon) GetName() string

func (Carbon) IsElement

func (Carbon) IsElement()

func (Carbon) IsNode

func (Carbon) IsNode()

type Element

type Element interface {
	IsNode()
	IsElement()
	GetID() string
	GetName() string
}

type Magnesium

type Magnesium struct {
	BaseElement
	Types int `json:"types"`
}

func (Magnesium) GetID

func (this Magnesium) GetID() string

func (Magnesium) GetName

func (this Magnesium) GetName() string

func (Magnesium) IsElement

func (Magnesium) IsElement()

func (Magnesium) IsNode

func (Magnesium) IsNode()

type Node

type Node interface {
	IsNode()
	GetID() string
}

type Potassium

type Potassium struct {
	BaseElement
	Price float64 `json:"price"`
}

func (Potassium) GetID

func (this Potassium) GetID() string

func (Potassium) GetName

func (this Potassium) GetName() string

func (Potassium) IsElement

func (Potassium) IsElement()

func (Potassium) IsNode

func (Potassium) IsNode()

type Query

type Query struct {
}

Jump to

Keyboard shortcuts

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