mock

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mock

func Mock(v interface{})

func RandString

func RandString() string

Types

type FieldTag

type FieldTag struct {
	Example string
	Type    Type
	Len     string
	Regexp  string
}

type Type

type Type int8
const (
	Phone Type = iota
	Mail
	DateTime
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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