Documentation ¶
Index ¶
- Variables
- func Dir(i interface{}) (list []string)
- func Doc(i interface{}) string
- func Docs(names string) string
- func ExporStructField(t reflect.Type) ([]string, error)
- func FnList() (list []string)
- func FnTable() map[string]interface{}
- func GoPkgList() (list []string)
- func IsExported(name string) bool
- type ReflectValues
Constants ¶
This section is empty.
Variables ¶
View Source
var Exports = map[string]interface{}{ "_name": "github.com/xushiwei/qlang/lib/meta", "fnlist": FnList, "fntable": FnTable, "pkgs": GoPkgList, "dir": Dir, "doc": Doc, }
Exports is the export table of this module.
Functions ¶
func Dir ¶
func Dir(i interface{}) (list []string)
Dir returns list object of strings. for a module: the module's attributes. for a go struct object: field and func list. for a qlang class: function list. for a qlang class object: function and vars list.
func GoPkgList ¶
func GoPkgList() (list []string)
GoPkgList returns qlang Go implemented module list
func IsExported ¶
Types ¶
type ReflectValues ¶
reflect.Value slice
func (ReflectValues) Len ¶
func (p ReflectValues) Len() int
func (ReflectValues) Less ¶
func (p ReflectValues) Less(i, j int) bool
func (ReflectValues) Swap ¶
func (p ReflectValues) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.