mmeta

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(object any) map[string]string

Data retrieves and returns all metadata from `object`

func Get

func Get(object any, key string) *mvar.Var

Get retrieves and returns the specified metadata from `object`

func ParseTag

func ParseTag(tag string) map[string]string

ParseTag parses the tag string to a map

func StructType

func StructType(object any) (reflect.Type, error)

StructType retrieves and returns the reflection type of the structure

Types

type Meta

type Meta struct{}

Meta is used as an embedded property to enable metadata features

Jump to

Keyboard shortcuts

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