demo

package
v0.0.0-...-c2da2d2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseMap

func ParseMap(text string, data map[string]interface{}) (res string, err error)

解析 map

func PrintInventory

func PrintInventory(inventory Inventory) error

解析对象示例

func TextAndSpaces

func TextAndSpaces(text string) (string, error)

移除文本空格

func Write

func Write()

Types

type Inventory

type Inventory struct {
	Material string
	Count    uint
}

Jump to

Keyboard shortcuts

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