reflect

package
v0.0.0-...-3f61646 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(target interface{}, obj interface{}) bool

Contains checks whether an element is in a collection like Slice, Array, Map.

func FullName

func FullName(fn interface{}) string

FullName fetches the full name of a method including the package and struct

func MethodName

func MethodName(fn interface{}) string

MethodName fetches the exact name of a method

func PbMethodName

func PbMethodName(fn interface{}) string

PbMethodName returns the method name for a given proto buffer method

Types

This section is empty.

Jump to

Keyboard shortcuts

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