mapping

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldTypeJSON = "JSON"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Key    string `json:"key"`
	Typ    string `json:"value"`
	Parent string `json:"parent"`
}

func (*Item) Assemble

func (m *Item) Assemble(withType bool) string

func (*Item) AssembleJSONAsString

func (m *Item) AssembleJSONAsString() (res string)

type List

type List struct {
	Data []Item `json:"data"`
}

func Handle

func Handle(req string, checkInner bool) (res List, err error)

Jump to

Keyboard shortcuts

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