reflectutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 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 interface{})

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