package
Version:
v1.15.6-0...-728b306
Opens a new window with list of versions in this module.
Published: Apr 1, 2021
License: MIT
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.