type AssignA func() int
func (x AssignA) Equal(y func() int) bool
type AssignB struct{ A int }
func (x AssignB) Equal(y struct{ A int }) bool
type AssignC chan bool
func (x AssignC) Equal(y chan bool) bool
type AssignD <-chan bool
func (x AssignD) Equal(y <-chan bool) bool
type Cartel struct { Headquarter // contains filtered or unexported fields }
func (p Cartel) Boss() string
func (p Cartel) CreationDate() time.Time
func (p Cartel) LastCrimeDate() time.Time
func (p Cartel) Poisons() []*Poison
func (p *Cartel) SetBoss(x string)
func (p *Cartel) SetCreationDate(x time.Time)
func (p *Cartel) SetLastCrimeDate(x time.Time)
func (p *Cartel) SetPoisons(x []*Poison)
func (p *Cartel) SetSource(x string)
func (p Cartel) Source() string
type Dirt struct { Discord DiscordState Proto pb.Dirt // contains filtered or unexported fields }
func (d *Dirt) SetLastTime(t int64)
func (d *Dirt) SetSadistic(m map[string]*pb.Sadistic)
func (d *Dirt) SetTable(t Table)
func (d *Dirt) SetTimestamp(t Timestamp)
func (d *Dirt) SetWizard(m map[string]*pb.Wizard)
type DiscordState int
type Dish struct {
// contains filtered or unexported fields
}
func CreateDish(m *pb.Dish, err error) *Dish
func (d *Dish) Proto() (*pb.Dish, error)
type Donkey struct { Pause bool Sleep int32 FunnyPrank string Immutable *DonkeyImmutable }
type DonkeyImmutable struct { ID string State *pb.Donkey_States Started time.Time Stopped time.Time LastUpdate time.Time // contains filtered or unexported fields }
func (DonkeyImmutable) Proto() *pb.Donkey
type Dreamer struct { Name string Desc string DescLong string PreSlaps []Slap ContSlaps []Slap ContSlapsInterval int32 Animal []interface{} // Could be either Goat or Donkey Ornamental bool Amoeba int64 Heroes int32 FloppyDisk int32 MightiestDuck bool FunnyPrank string Immutable *DreamerImmutable }
type DreamerImmutable struct { ID string State *pb.Dreamer_States MissingCall *pb.Dreamer_MissingCalls Calls int32 Started time.Time Stopped time.Time LastUpdate time.Time // contains filtered or unexported fields }
func (DreamerImmutable) Proto() *pb.Dreamer
type Eagle struct { Name string Hounds []string Desc string DescLong string Dreamers []Dreamer Prong int64 Slaps []Slap StateGoverner string PrankRating string FunnyPrank string Immutable *EagleImmutable }
type EagleImmutable struct { ID string State *pb.Eagle_States MissingCall *pb.Eagle_MissingCalls Birthday time.Time Death time.Time Started time.Time LastUpdate time.Time Creator string // contains filtered or unexported fields }
func (EagleImmutable) Proto() *pb.Eagle
type FakeMutex struct { sync.Locker // contains filtered or unexported fields }
type GermBatch struct { DirtyGerms, CleanGerms map[int32][]*pb.Germ GermMap map[int32]*pb.Germ DishMap map[int32]*Dish HasPreviousResult bool DirtyID, CleanID int32 GermStrain int32 TotalDirtyGerms int InfectedAt time.Time }
type Goat struct { Target string Slaps []Slap FunnyPrank string Immutable *GoatImmutable }
type GoatImmutable struct { ID string State *pb.Goat_States Started time.Time Stopped time.Time LastUpdate time.Time // contains filtered or unexported fields }
func (GoatImmutable) Proto() *pb.Goat
type Headquarter struct {
// contains filtered or unexported fields
}
func (hq Headquarter) Convulsion() bool
func (hq Headquarter) CreationTime() time.Time
func (hq Headquarter) Expansion() uint64
func (hq Headquarter) HorseBack() string
func (hq Headquarter) ID() uint64
func (hq Headquarter) IncorporatedDate() time.Time
func (hq Headquarter) Location() string
func (hq Headquarter) MetaData() *pb.MetaData
func (hq Headquarter) PrivateMessage() []byte
func (hq Headquarter) PublicMessage() []byte
func (hq Headquarter) Rattle() string
func (hq Headquarter) Restrictions() pb.Restrictions
func (hq *Headquarter) SetConvulsion(x bool)
func (hq *Headquarter) SetCreationTime(x time.Time)
func (hq *Headquarter) SetExpansion(x uint64)
func (hq *Headquarter) SetHorseBack(x string)
func (hq *Headquarter) SetID(x uint64)
func (hq *Headquarter) SetIncorporatedDate(x time.Time)
func (hq *Headquarter) SetLocation(x string)
func (hq *Headquarter) SetMetaData(x *pb.MetaData)
func (hq *Headquarter) SetPrivateMessage(x []byte)
func (hq *Headquarter) SetPublicMessage(x []byte)
func (hq *Headquarter) SetRattle(x string)
func (hq *Headquarter) SetRestrictions(x pb.Restrictions)
func (hq *Headquarter) SetStatus(x pb.HoneyStatus)
func (hq *Headquarter) SetSubDivisions(x []string)
func (hq Headquarter) Status() pb.HoneyStatus
func (hq Headquarter) SubDivisions() []string
type InterfaceA interface { InterfaceA() }
type LoveRadius struct { Summer *SummerLove // contains filtered or unexported fields }
type MockTable struct {
// contains filtered or unexported fields
}
func CreateMockTable(s []string) *MockTable
func (mt *MockTable) Operation1() error
func (mt *MockTable) Operation2() error
func (mt *MockTable) Operation3() error
func (mt *MockTable) State() []string
type ParentStructA struct {
// contains filtered or unexported fields
}
func (s *ParentStructA) PrivateStruct() *privateStruct
func (s *ParentStructA) SetPrivate(i int)
type ParentStructB struct{ PublicStruct }
type ParentStructC struct { Public int // contains filtered or unexported fields }
func (s *ParentStructC) PrivateStruct() *privateStruct
func (s *ParentStructC) SetPrivate(i int)
type ParentStructD struct { PublicStruct Public int // contains filtered or unexported fields }
func (s *ParentStructD) SetPrivate(i int)
type ParentStructE struct { PublicStruct // contains filtered or unexported fields }
func (s *ParentStructE) PrivateStruct() *privateStruct
type ParentStructF struct { PublicStruct Public int // contains filtered or unexported fields }
func (s *ParentStructF) PrivateStruct() *privateStruct
func (s *ParentStructF) SetPrivate(i int)
type ParentStructG struct {
// contains filtered or unexported fields
}
func NewParentStructG() *ParentStructG
func (s *ParentStructG) PrivateStruct() *privateStruct
func (s ParentStructG) SetPrivate(i int)
type ParentStructH struct { *PublicStruct }
func NewParentStructH() *ParentStructH
type ParentStructI struct { *PublicStruct // contains filtered or unexported fields }
func NewParentStructI() *ParentStructI
func (s *ParentStructI) PrivateStruct() *privateStruct
type ParentStructJ struct { *PublicStruct Public PublicStruct // contains filtered or unexported fields }
func NewParentStructJ() *ParentStructJ
func (s *ParentStructJ) Private() *privateStruct
func (s *ParentStructJ) PrivateStruct() *privateStruct
type Poison struct {
// contains filtered or unexported fields
}
func (p Poison) Expiration() time.Time
func (p Poison) Manufacturer() string
func (p Poison) PoisonType() pb.PoisonType
func (p Poison) Potency() int
func (p *Poison) SetExpiration(x time.Time)
func (p *Poison) SetManufacturer(x string)
func (p *Poison) SetPoisonType(x pb.PoisonType)
func (p *Poison) SetPotency(x int)
type PublicStruct struct { Public int // contains filtered or unexported fields }
func (s *PublicStruct) SetPrivate(i int)
type Slap struct { Name string Desc string DescLong string Args pb.Message Tense int32 Interval int32 Homeland uint32 FunnyPrank string Immutable *SlapImmutable }
type SlapImmutable struct { ID string Out pb.Message MildSlap bool PrettyPrint string State *pb.Slap_States Started time.Time Stopped time.Time LastUpdate time.Time LoveRadius *LoveRadius // contains filtered or unexported fields }
func (SlapImmutable) Proto() *pb.Slap
type StructA struct{ X string } // Equal method on value receiver
func (x StructA) Equal(y StructA) bool
These embed the above types as a value.
type StructA1 struct { StructA X string }
These embed the above types as a pointer.
type StructA2 struct { *StructA X string }
type StructB struct{ X string } // Equal method on pointer receiver
func (x *StructB) Equal(y *StructB) bool
type StructB1 struct { StructB X string }
type StructB2 struct { *StructB X string }
type StructC struct{ X string } // Equal method (with interface argument) on value receiver
func (x StructC) Equal(y InterfaceA) bool
func (x StructC) InterfaceA()
type StructC1 struct { StructC X string }
type StructC2 struct { *StructC X string }
type StructD struct{ X string } // Equal method (with interface argument) on pointer receiver
func (x *StructD) Equal(y InterfaceA) bool
func (x *StructD) InterfaceA()
type StructD1 struct { StructD X string }
type StructD2 struct { *StructD X string }
type StructE struct{ X string } // Equal method (with interface argument on value receiver) on pointer receiver
func (x *StructE) Equal(y InterfaceA) bool
func (x StructE) InterfaceA()
type StructE1 struct { StructE X string }
type StructE2 struct { *StructE X string }
type StructF struct{ X string } // Equal method (with interface argument on pointer receiver) on value receiver
func (x StructF) Equal(y InterfaceA) bool
func (x *StructF) InterfaceA()
type StructF1 struct { StructF X string }
type StructF2 struct { *StructF X string }
type StructNo struct{ X string } // Equal method (with interface argument) on non-satisfying receiver
func (x StructNo) Equal(y InterfaceA) bool
type SummerLove struct { Summary *SummerLoveSummary // contains filtered or unexported fields }
type SummerLoveSummary struct { Devices []string ChangeType []pb.SummerType // contains filtered or unexported fields }
type Table interface { Operation1() error Operation2() error Operation3() error }
type Timestamp int64
Name | Synopsis |
---|---|
.. |