clidoc

package
v29.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Key     string
	Type    string
	Value   Docs
	Comment string
}

Doc represents the struct documentation with tag comments.

type Docs

type Docs []Doc

Docs represents a slice of Doc.

func GenDoc

func GenDoc(v interface{}) (fields Docs, err error)

GenDoc to generate documentation from a struct.

func (Docs) String

func (d Docs) String() string

String converts Docs to a string.

Jump to

Keyboard shortcuts

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