Versions in this module Expand all Collapse all v1 v1.0.0 Dec 4, 2022 v0 v0.1.0 Nov 27, 2022 Changes in this version + type DutyAssignment struct + Acting bool + Assignee *Member + Assistant bool + DutyTitle string + MaxGrade *Grade + MinGrade *Grade + OfficeSymbol string + type Element struct + AsstElementLeader DutyAssignment + ElementLeader DutyAssignment + Members []Member + func (e *Element) PopulateMemberData(members map[uint]Member, accounted *mapset.Set[uint]) error + type Flight struct + Elements []Element + FlightCommander DutyAssignment + FlightSergeant DutyAssignment + Name string + func (f *Flight) PopulateMemberData(members map[uint]Member, accounted *mapset.Set[uint]) error + type Grade string + const BrigGen + const CMSgt + const Capt + const CdtA1C + const CdtAB + const CdtAmn + const CdtCMSgt + const CdtCapt + const CdtCol + const CdtFirstLt + const CdtLtCol + const CdtMSgt + const CdtMaj + const CdtSMSgt + const CdtSSgt + const CdtSecondLt + const CdtSrA + const CdtTSgt + const Col + const FO + const FirstLt + const LtCol + const MSgt + const Maj + const MajGen + const SFO + const SM + const SMSgt + const SSgt + const SecondLt + const TFO + const TSgt + func ParseGrade(grade string) (Grade, error) + type Member struct + CAPID uint + FirstName string + Grade Grade + LastName string + MemberType MemberType + func (m Member) FullName() string + func (m Member) String() string + type MemberGroup struct + Cadets []Member + Name string + Seniors []Member + func NewUnassignedMemberGroup(members map[uint]Member, assigned mapset.Set[uint], inactive mapset.Set[uint]) MemberGroup + type MemberType string + const CadetMember + const SeniorMember + func ParseMemberType(memberType string) (MemberType, error) + type StaffGroup struct + Name string + SubGroups []StaffSubGroup + func (sg *StaffGroup) PopulateMemberData(members map[uint]Member, assigned *mapset.Set[uint]) error + type StaffSubGroup struct + DirectReports []DutyAssignment + Leader DutyAssignment + Name string + func (ssg *StaffSubGroup) PopulateMemberData(members map[uint]Member, assigned *mapset.Set[uint]) error + type TableOfOrganization struct + Flights []Flight + Inactive MemberGroup + InactiveCAPIDs mapset.Set[uint] + StaffGroups []StaffGroup + Unassigned MemberGroup + func (to *TableOfOrganization) PopulateMemberData(members map[uint]Member) error