/*
   Indicating capability: READER

   Syntax
     GROUP group

   Responses
     211 number low high group     Group successfully selected
     411                           No such newsgroup

   Parameters
     group     Name of newsgroup
     number    Estimated number of articles in the group
     low       Reported low water mark
     high      Reported high water mark

*/
Indicating capability: READER

Syntax
GROUP group

Responses
211 number low high group     Group successfully selected
411                           No such newsgroup

Parameters
group     Name of newsgroup
number    Estimated number of articles in the group
low       Reported low water mark
high      Reported high water mark
/ * Indicating capability : READER Syntax GROUP group Responses 211 number low high group Group successfully selected 411 No such newsgroup Parameters group Name of newsgroup number Estimated number of articles in the group low Reported low water mark high Reported high water mark * /
func handleGroup(args []string, s *session, c *textproto.Conn) error {
	if len(args) < 1 {
		return ErrNoSuchGroup
	}
	group, err := s.backend.GetGroup(args[0])
	if err != nil {
		return err
	}
	s.group = group
	s.number = -1
	c.PrintfLine("211 %d %d %d %s",
		group.Count, group.Low, group.High, group.Name)
	return nil
}
func handleGroup ( args [ ] string , s * session , c * textproto . Conn ) error { if len ( args ) < 1 { return ErrNoSuchGroup } group , err := s . backend . GetGroup ( args [ 0 ] ) if err != nil { return err } s . group = group s . number = - 1 c . PrintfLine ( " " , group . Count , group . Low , group . High , group . Name ) return nil }
Indicating capability: READER
Indicating capability : READER