read

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAllTag

func ReadAllTag(val interface{}, tag string) ([]string, []interface{})

ReadAllTag 读标签 获取val结构体参数数据 返回所有的字段数据及对应字段结构

func ReadHaveValueTag

func ReadHaveValueTag(val interface{}, tag string) ([]string, []interface{})

ReadTag 读标签 获取val结构体参数数据 仅返回数据非空的字段数据及对应字段结构

func ValueIsBlank

func ValueIsBlank(value reflect.Value) bool

ValueIsBlank reflect.Value结构体方法封装 判断当前结构参数数据是否为空

Types

This section is empty.

Jump to

Keyboard shortcuts

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