meta

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dataset

type Dataset struct {
	Tool       string
	TargetFile string
	Type       *Type
}

func Parse

func Parse(filename, forType string) (*Dataset, error)

type Field

type Field struct {
	Name  string
	Ref   *Ref
	Of    *Type
	Facet string
}

func (Field) AbstractType

func (f Field) AbstractType() string

type Ref

type Ref struct {
	Pkg       string
	Name      string
	IsArray   bool
	IsPointer bool
	MapKey    *Ref
	// contains filtered or unexported fields
}

func (*Ref) AbstractType

func (r *Ref) AbstractType() string

abstract type of the data behind the field

func (*Ref) IsStringer

func (r *Ref) IsStringer() bool

func (*Ref) String

func (r *Ref) String() string

type Type

type Type struct {
	Name   string
	Fields []Field
	// contains filtered or unexported fields
}

func (*Type) Package

func (t *Type) Package() string

Jump to

Keyboard shortcuts

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