The highest tagged major version is
v2.
package
Version:
v1.15.5
Opens a new window with list of versions in this module.
Published: Mar 30, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
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.