protomock

package
v0.0.0-...-0bd687e Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Faker

func Faker() *fake.Faker

func Mock

func Mock(msg proto.Message)

func Populate

func Populate(msg proto.Message) proto.Message

Populate will recursively populate all the Message fields of a Message

func Seed

func Seed(seed int64)

Types

type ScalarValueMocker

type ScalarValueMocker func(fieldDescriptor protoreflect.FieldDescriptor, fieldOptions proto.Message) any

Jump to

Keyboard shortcuts

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