tips

package
v0.0.0-...-0158116 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineText

func CombineText(color int, name string, desc string, comment string) (title string)

func Max

func Max(a int, b int) int

func RPrint

func RPrint(item *PrintItem, maxLength int, level int)

Types

type PrintItem

type PrintItem struct {
	Text     string
	Children []*PrintItem
}

type TipGroup

type TipGroup struct {
	Group       string     `json:"group"`
	Description string     `json:"description"`
	Comment     string     `json:"comment"`
	Items       []*TipItem `json:"items"`
}

type TipGroups

type TipGroups struct {
	Name        string      `json:"name"`
	Description string      `json:"description"`
	Comment     string      `json:"comment"`
	Tips        []*TipGroup `json:"tips"`
}

func (*TipGroups) CliPrintB

func (tgs *TipGroups) CliPrintB()

type TipItem

type TipItem struct {
	Name    string      `json:"name"`
	Comment string      `json:"comment"`
	Usage   []*TipUsage `json:"usage"`
}

type TipUsage

type TipUsage struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Comment     string `json:"comment"`
}

Jump to

Keyboard shortcuts

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