reflex

package
v4.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExtStruct

func CheckExtStruct(st reflect.Type, pkgPath string) ([]reflect.Type, error)

CheckExtStruct check external struct type is in pkgPath and return other struct type field's type that contained in type. st must struct kind

func CheckStruct

func CheckStruct(st reflect.Type, pkgPath string) ([]reflect.Type, error)

CheckStruct check struct type is in pkgPath and return other struct type field's type that contained in type. st must struct kind

func NewReflex

func NewReflex(info *core.EngineInfo, tagName string, watchCtxDone bool, noneQuery bool) *reflex

func WriteStruct

func WriteStruct(buf *bytes.Buffer, t reflect.Type, pkgPath string, imports map[string]string, indent string) (err error)

WriteStruct write struct type to *bytes.Buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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