package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Sep 27, 2023
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package gmeta provides embedded meta data feature for struct.
func Data(object interface{}) map[string]interface{}
Data retrieves and returns all meta data from `object`.
It automatically parses and caches the tag string from "Mata" attribute as its meta data.
Get retrieves and returns specified meta data by `key` from `object`.
Meta is used as an embedded attribute for struct to enabled meta data feature.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.