gofakeit

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional gofakeit.Generator generate = 112233;
	E_Generate = &file_gofakeit_gofakeit_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_gofakeit_gofakeit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Generator

type Generator struct {

	// Types that are assignable to Apply:
	//
	//	*Generator_Skip
	//	*Generator_Tag
	//	*Generator_Template
	//	*Generator_Repeated
	//	*Generator_Map
	Apply isGenerator_Apply `protobuf_oneof:"apply"`
	// contains filtered or unexported fields
}

func (*Generator) Descriptor deprecated

func (*Generator) Descriptor() ([]byte, []int)

Deprecated: Use Generator.ProtoReflect.Descriptor instead.

func (*Generator) GetApply

func (m *Generator) GetApply() isGenerator_Apply

func (*Generator) GetMap

func (x *Generator) GetMap() *Map

func (*Generator) GetRepeated

func (x *Generator) GetRepeated() *Repeated

func (*Generator) GetSkip

func (x *Generator) GetSkip() bool

func (*Generator) GetTag

func (x *Generator) GetTag() string

func (*Generator) GetTemplate

func (x *Generator) GetTemplate() string

func (*Generator) ProtoMessage

func (*Generator) ProtoMessage()

func (*Generator) ProtoReflect

func (x *Generator) ProtoReflect() protoreflect.Message

func (*Generator) Reset

func (x *Generator) Reset()

func (*Generator) String

func (x *Generator) String() string

type Generator_Map

type Generator_Map struct {
	Map *Map `protobuf:"bytes,5,opt,name=map,proto3,oneof"`
}

type Generator_Repeated

type Generator_Repeated struct {
	Repeated *Repeated `protobuf:"bytes,4,opt,name=repeated,proto3,oneof"`
}

type Generator_Skip

type Generator_Skip struct {
	Skip bool `protobuf:"varint,1,opt,name=skip,proto3,oneof"`
}

type Generator_Tag

type Generator_Tag struct {
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3,oneof"`
}

type Generator_Template

type Generator_Template struct {
	Template string `protobuf:"bytes,3,opt,name=template,proto3,oneof"`
}

type Map

type Map struct {

	// Types that are assignable to Size:
	//
	//	*Map_Len
	//	*Map_Range
	Size  isMap_Size `protobuf_oneof:"size"`
	Key   *Generator `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value *Generator `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

func (*Map) Descriptor() ([]byte, []int)

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetKey

func (x *Map) GetKey() *Generator

func (*Map) GetLen

func (x *Map) GetLen() uint32

func (*Map) GetRange

func (x *Map) GetRange() *Range

func (*Map) GetSize

func (m *Map) GetSize() isMap_Size

func (*Map) GetValue

func (x *Map) GetValue() *Generator

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

func (x *Map) ProtoReflect() protoreflect.Message

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

type Map_Len

type Map_Len struct {
	Len uint32 `protobuf:"varint,1,opt,name=len,proto3,oneof"`
}

type Map_Range

type Map_Range struct {
	Range *Range `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}

type Range

type Range struct {
	Min uint32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max uint32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

func (*Range) Descriptor deprecated

func (*Range) Descriptor() ([]byte, []int)

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetMax

func (x *Range) GetMax() uint32

func (*Range) GetMin

func (x *Range) GetMin() uint32

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect

func (x *Range) ProtoReflect() protoreflect.Message

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

type Repeated

type Repeated struct {

	// Types that are assignable to Size:
	//
	//	*Repeated_Len
	//	*Repeated_Range
	Size    isRepeated_Size `protobuf_oneof:"size"`
	Element *Generator      `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

func (*Repeated) Descriptor deprecated

func (*Repeated) Descriptor() ([]byte, []int)

Deprecated: Use Repeated.ProtoReflect.Descriptor instead.

func (*Repeated) GetElement

func (x *Repeated) GetElement() *Generator

func (*Repeated) GetLen

func (x *Repeated) GetLen() uint32

func (*Repeated) GetRange

func (x *Repeated) GetRange() *Range

func (*Repeated) GetSize

func (m *Repeated) GetSize() isRepeated_Size

func (*Repeated) ProtoMessage

func (*Repeated) ProtoMessage()

func (*Repeated) ProtoReflect

func (x *Repeated) ProtoReflect() protoreflect.Message

func (*Repeated) Reset

func (x *Repeated) Reset()

func (*Repeated) String

func (x *Repeated) String() string

type Repeated_Len

type Repeated_Len struct {
	Len uint32 `protobuf:"varint,5,opt,name=len,proto3,oneof"`
}

type Repeated_Range

type Repeated_Range struct {
	Range *Range `protobuf:"bytes,6,opt,name=range,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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