Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimalShelter ¶
type AnimalShelter struct { Address string PhoneNumber string Animals []Animal Employees []Employee }
func FromProto ¶
func FromProto(shelter *proto.AnimalShelter) AnimalShelter
func NewAnimalShelter ¶
func NewAnimalShelter() AnimalShelter
func (*AnimalShelter) ToProto ¶
func (shelter *AnimalShelter) ToProto() *proto.AnimalShelter
type Employee ¶
type Employee struct { FirstName string SecondName string Manager *EmployeeID Hobbies []string }
type EmployeeID ¶
type EmployeeID int64
Click to show internal directories.
Click to hide internal directories.