Help us shape the future of Go! Take the 2026 Go Developer Survey

out_directive_nullable_models

package
v0.17.96 Latest Latest
Warning

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

Go to latest
Published: Oct 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 BaseNode

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

func (BaseNode) GetID

func (this BaseNode) GetID() string

func (BaseNode) IsNode

func (BaseNode) IsNode()

type BaseResource

type BaseResource struct {
	BaseNode
	Name *string  `json:"name,omitempty"`
	Size *float64 `json:"size,omitempty"`
}

func (BaseResource) GetID

func (this BaseResource) GetID() string

func (BaseResource) GetName

func (this BaseResource) GetName() *string

func (BaseResource) GetSize

func (this BaseResource) GetSize() *float64

func (BaseResource) IsNode

func (BaseResource) IsNode()

func (BaseResource) IsResource

func (BaseResource) IsResource()

type Document

type Document struct {
	BaseResource
	Format *string `json:"format,omitempty"`
}

func (Document) GetID

func (this Document) GetID() string

func (Document) GetName

func (this Document) GetName() *string

func (Document) GetSize

func (this Document) GetSize() *float64

func (Document) IsNode

func (Document) IsNode()

func (Document) IsResource

func (Document) IsResource()

type Node

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

type Query

type Query struct {
}

type Resource

type Resource interface {
	IsNode()
	IsResource()
	GetID() string
	GetName() *string
	GetSize() *float64
}

Jump to

Keyboard shortcuts

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