pb

package
v0.0.0-...-c3255e3 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

examples/book/pb/book.proto

It has these top-level messages:

Book

Package pb is a generated protocol buffer package.

It is generated from these files:

examples/book/pb/book.proto

It has these top-level messages:

Book

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GomeetFakerRand

func GomeetFakerRand() *rand.Rand

func GomeetFakerSetLocale

func GomeetFakerSetLocale(l string)

Types

type Book

type Book struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"`
	Author string `protobuf:"bytes,2,opt,name=author" json:"author,omitempty"`
	Title  string `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Isbn10 string `protobuf:"bytes,4,opt,name=isbn10" json:"isbn10,omitempty"`
	Isbn13 string `protobuf:"bytes,5,opt,name=isbn13" json:"isbn13,omitempty"`
}

func NewBookGomeetFaker

func NewBookGomeetFaker() *Book

func (*Book) Descriptor

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

func (*Book) GetAuthor

func (m *Book) GetAuthor() string

func (*Book) GetIsbn10

func (m *Book) GetIsbn10() string

func (*Book) GetIsbn13

func (m *Book) GetIsbn13() string

func (*Book) GetTitle

func (m *Book) GetTitle() string

func (*Book) GetUuid

func (m *Book) GetUuid() string

func (*Book) ProtoMessage

func (*Book) ProtoMessage()

func (*Book) Reset

func (m *Book) Reset()

func (*Book) String

func (m *Book) String() string

Jump to

Keyboard shortcuts

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