structs

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	STRUCT_PROMPT    = "STRUCT> "
	STRUCT_DELIMITER = '}'
)

Variables

This section is empty.

Functions

func ExportStruct

func ExportStruct(cmd *schema.Commander)

Types

type GoMember

type GoMember struct {
	Name string
	Type string
	Tags string
}

type GoStruct

type GoStruct struct {
	Name     string
	Members  []GoMember
	Contents []string
	// contains filtered or unexported fields
}

func NewGoStruct

func NewGoStruct(cmd *schema.Commander, r *cmder.CmdReader) (gs *GoStruct, err error)

Jump to

Keyboard shortcuts

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