model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Name     string
	Type     FieldType
	Private  bool
	Required bool
}

type FieldType

type FieldType struct {
	Name string
	Info TypeInfo
}

type File

type File struct {
	Name    string
	Path    string
	Pkg     string
	Imports []Import
	Structs []Struct
}

type Import

type Import struct {
	Value string
	Alias *string
}

type Struct

type Struct struct {
	Name    string
	Private bool
	Fields  []Field
}

type TypeInfo

type TypeInfo int
const (
	TypeInfoOther TypeInfo = iota
	TypeInfoArray
	TypeInfoPointer
	TypeInfoOption
)

Jump to

Keyboard shortcuts

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