utility

package
v0.0.0-...-a2da514 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attr

func Attr(v interface{}) map[string]string

func BindInterface

func BindInterface(v interface{}, dst interface{}) error

Types

type Mock

type Mock struct{}

func (*Mock) Email

func (g *Mock) Email() string

func (*Mock) FemaleFirstName

func (g *Mock) FemaleFirstName() string

func (*Mock) FirstName

func (g *Mock) FirstName() string

func (*Mock) LastName

func (g *Mock) LastName() string

func (*Mock) MaleFirstName

func (g *Mock) MaleFirstName() string

func (*Mock) Token

func (g *Mock) Token(len int) string

type Structs

type Structs struct{}

func (*Structs) Attr

func (s *Structs) Attr(v interface{}) map[string]string

func (*Structs) ToMap

func (s *Structs) ToMap(v interface{}) map[string]interface{}

Jump to

Keyboard shortcuts

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