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

document

package
v1.0.54 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	ID      string
	Parents []*Document
	Data    any
}

func New

func New(id string) *Document

func NewWithData

func NewWithData(id string, data any) *Document

func (*Document) AllParents

func (d *Document) AllParents() map[string]*Document

func (*Document) Clone

func (d *Document) Clone(suffix string) (*Document, error)

func (*Document) PopListMapBoolValue

func (d *Document) PopListMapBoolValue(key string, val bool) (bool, error)

func (*Document) PopMapBoolValue

func (d *Document) PopMapBoolValue(key string, val bool) bool

func (*Document) PopMapValue

func (d *Document) PopMapValue(key string) (bool, any)

func (*Document) String

func (d *Document) String() string

Jump to

Keyboard shortcuts

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