timetable-mgr/pis/types.go

16 lines
357 B
Go
Raw Normal View History

2024-05-02 15:35:00 +01:00
package pis
// Omits data which is not required
type GiteaReleaseData struct {
Name string `json:"name"`
TarballUrl string `json:"tarball_url"`
Draft bool `json:"draft"`
Prerelease bool `json:"prerelease"`
}
2024-10-21 21:04:37 +01:00
type PisData struct {
Code string `json:"code"`
Stops []string `json:"stops"`
Operator string `json:"operator"`
}