diff options
| author | Christoph Blecker <admin@toph.ca> | 2018-03-14 15:36:25 -0700 |
|---|---|---|
| committer | Christoph Blecker <admin@toph.ca> | 2018-03-14 15:36:25 -0700 |
| commit | dd70a35476e801bb7f5e88484c30ed82795eef1f (patch) | |
| tree | 1bf6974c61af17e6f73ba0c3a3b65654130a505e /generator/app.go | |
| parent | 56005d414c3661d466514dfad5b6b58c2a64dc4d (diff) | |
Modify generator to support chairs/tech leads
Diffstat (limited to 'generator/app.go')
| -rw-r--r-- | generator/app.go | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/generator/app.go b/generator/app.go index 2c96eaf8..3a861e28 100644 --- a/generator/app.go +++ b/generator/app.go @@ -52,9 +52,8 @@ var ( templateDir = "generator" ) -// Lead represents a lead engineer for a particular group. There are usually -// 2 per group. -type Lead struct { +// Person represents an individual person holding a role in a group. +type Person struct { Name string Company string GitHub string @@ -85,7 +84,7 @@ type GithubTeams struct { Description string } -// Subproject represenst a specific subproject owned by the group +// Subproject represents a specific subproject owned by the group type Subproject struct { Name string Description string @@ -93,14 +92,20 @@ type Subproject struct { Meetings []Meeting } +// LeadershipGroup represents the different groups of leaders within a group +type LeadershipGroup struct { + Chairs []Person + TechnicalLeads []Person `yaml:"tech_leads"` + EmeritusLeads []Person `yaml:"emeritus_leads"` +} + // Group represents either a Special Interest Group (SIG) or a Working Group (WG) type Group struct { Name string Dir string MissionStatement string `yaml:"mission_statement"` Label string - Leads []Lead - EmeritusLeads []Lead `yaml:"emeritus_leads"` + Leadership LeadershipGroup `yaml:"leadership"` Meetings []Meeting Contact Contact Subprojects []Subproject |
