out_directive_partial

package
v0.17.87 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 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 BaseMetal

type BaseMetal struct {
	BaseNode
	AtomicNumber int    `json:"atomicNumber"`
	Name         string `json:"name"`
}

func (BaseMetal) GetAtomicNumber

func (this BaseMetal) GetAtomicNumber() int

func (BaseMetal) GetID

func (this BaseMetal) GetID() string

func (BaseMetal) GetName

func (this BaseMetal) GetName() string

func (BaseMetal) IsMetal

func (BaseMetal) IsMetal()

func (BaseMetal) IsNode

func (BaseMetal) 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 Element

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

type Gold

type Gold struct {
	BaseMetal
	Karat int `json:"karat"`
}

func (Gold) GetAtomicNumber

func (this Gold) GetAtomicNumber() int

func (Gold) GetID

func (this Gold) GetID() string

func (Gold) GetName

func (this Gold) GetName() string

func (Gold) IsElement

func (Gold) IsElement()

func (Gold) IsMetal

func (Gold) IsMetal()

func (Gold) IsNode

func (Gold) IsNode()

type Metal

type Metal interface {
	IsElement()
	IsNode()
	IsMetal()
	GetID() string
	GetName() string
	GetAtomicNumber() int
}

type Node

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

type Query

type Query struct {
}

type Silver

type Silver struct {
	BaseMetal
	Purity float64 `json:"purity"`
}

func (Silver) GetAtomicNumber

func (this Silver) GetAtomicNumber() int

func (Silver) GetID

func (this Silver) GetID() string

func (Silver) GetName

func (this Silver) GetName() string

func (Silver) IsElement

func (Silver) IsElement()

func (Silver) IsMetal

func (Silver) IsMetal()

func (Silver) IsNode

func (Silver) IsNode()

Jump to

Keyboard shortcuts

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