Documentation ¶ Index ¶ type Class func (c Class) Call(ch chan Student) func (c *Class) Join(s Student) type Student func (s Student) Introduce() func (s *Student) New() func (s *Student) Reset() func (s *Student) Set(x ...any) func (s Student) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Class ¶ type Class struct { Students []Student } func (Class) Call ¶ func (c Class) Call(ch chan Student) func (*Class) Join ¶ func (c *Class) Join(s Student) type Student ¶ type Student struct { Pool.None Name string ID int64 } func (Student) Introduce ¶ func (s Student) Introduce() func (*Student) New ¶ added in v0.1.2 func (s *Student) New() func (*Student) Reset ¶ func (s *Student) Reset() func (*Student) Set ¶ added in v0.1.1 func (s *Student) Set(x ...any) func (Student) String ¶ func (s Student) String() string Source Files ¶ View all Source files class.gostudent.go Click to show internal directories. Click to hide internal directories.