元数据类

package
v0.0.0-...-fcd50c7 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

包gmeta为struct提供了嵌入式元数据功能。 md5:31c7b2b4ae02619a

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(object interface{}) map[string]string

Data 从`object`中检索并返回所有元数据。 md5:d0b2cb45c581d982

func Get

func Get(object interface{}, key string) *gvar.Var

Get通过`key`从`object`中检索并返回指定的元数据。 md5:cb5e4223dc341860

Types

type Meta

type Meta struct{}

Meta 作为结构体的嵌入属性,用于启用元数据功能。 md5:12d03f1f1bd9c041

Jump to

Keyboard shortcuts

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