reflection

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldPointerOf added in v0.1.12

func GetFieldPointerOf(i interface{}, fieldName string) (unsafe.Pointer, error)

Gets a pointer of a private or public field in any struct

func GetIsParallel added in v0.1.12

func GetIsParallel(t *testing.T) bool

func GetTestMutex added in v0.1.12

func GetTestMutex(t *testing.T) *sync.RWMutex

func GetTypePointer added in v0.1.12

func GetTypePointer(i interface{}, fieldName string) (reflect.Type, error)

Gets the type pointer to a field name

Types

This section is empty.

Source Files

  • reflect.go

Jump to

Keyboard shortcuts

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