| 33 | } |
| 34 | |
| 35 | type MapGenerator struct { |
| 36 | updaterState *UpdaterState |
| 37 | updates *Topic[Update] |
| 38 | mapTemplate *template.Template |
| 39 | fontContext *freetype.Context |
| 40 | MapData *MapData |
| 41 | } |
| 42 | |
| 43 | func NewMapGenerator(updaterState *UpdaterState, updates *Topic[Update]) *MapGenerator { |
| 44 | mapTemplate, err := template.New("maptemplate").Parse(mapTemplateStr) |
nothing calls this directly
no outgoing calls
no test coverage detected