out_omit_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 Carbon

type Carbon struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	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 {
	ID    string `json:"id"`
	Name  string `json:"name"`
	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 {
	ID    string  `json:"id"`
	Name  string  `json:"name"`
	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