reflectutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

description: sync_eth

@author: xwc1125 @date: 2020/3/11

description: sync_eth

@author: xwc1125 @date: 2020/4/1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelPointer

func DelPointer(w interface{}) interface{}

func GetFieldName

func GetFieldName(structName interface{}) []string

func GetValueByFieldName

func GetValueByFieldName(structName interface{}, fieldName string) interface{}

func ToPointer

func ToPointer(w interface{}) interface{}

Types

type FieldInfo

type FieldInfo struct {
	FieldName string
	FieldType string
	TagValue  string
}

func GetTagName

func GetTagName(structName interface{}, tagKey string) []FieldInfo

Jump to

Keyboard shortcuts

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