greflect

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStructName

func GetStructName(structPoint interface{}) string

获取结构体名称

func GetType

func GetType(structPoint interface{}) string

获取变量类型

func PrimaryKeyValue

func PrimaryKeyValue(structPoint interface{}, PrimaryKey string) int

获取数据主键值

func PrintStructMethods

func PrintStructMethods(structPoint interface{})

打印结构体方法

func PrintStructTags

func PrintStructTags(structPoint interface{})

打印结构体标签

func PrintStructVars

func PrintStructVars(structPoint interface{})

打印结构体变量

Types

This section is empty.

Jump to

Keyboard shortcuts

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