reflectutils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReflectTag

type ReflectTag struct {
	Col     string
	Type    string
	Comment string
}

gorm

func NewReflectTag

func NewReflectTag() *ReflectTag

func (*ReflectTag) ParseTag

func (gt *ReflectTag) ParseTag(tagstr string) *ReflectTag

type ReflectTags

type ReflectTags struct {
	// contains filtered or unexported fields
}

func NewReflectTags

func NewReflectTags() *ReflectTags

func (*ReflectTags) Log

func (tag *ReflectTags) Log()

func (*ReflectTags) ParseOne

func (tag *ReflectTags) ParseOne(v any, FieldName string, tagName string)

func (*ReflectTags) ParseTags

func (tag *ReflectTags) ParseTags(v any)

func (*ReflectTags) SetTagMap

func (tag *ReflectTags) SetTagMap(tagMap *linkedhashmap.Map)

func (*ReflectTags) TagMap

func (tag *ReflectTags) TagMap() *linkedhashmap.Map

func (*ReflectTags) ToString

func (tag *ReflectTags) ToString() string

Jump to

Keyboard shortcuts

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