util

package
v0.0.0-...-a341d26 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 3 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 string
	Tag  string
	Num  int
}

func NewEmptyField

func NewEmptyField() *Field

func NewFieldWithNum

func NewFieldWithNum(num int) *Field

func (*Field) String

func (f *Field) String() string

type Struct

type Struct struct {
	Name   string
	Fields []*Field
}

func NewEmptyStruct

func NewEmptyStruct() *Struct

func (*Struct) GetShortName

func (s *Struct) GetShortName() string

func (*Struct) Reveal

func (s *Struct) Reveal() string

func (*Struct) String

func (s *Struct) String() string

Jump to

Keyboard shortcuts

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