timetable-mgr/pis/types.go
Fred Boniface 8f0e9759c4
Some checks failed
Go Test / test (push) Failing after 2m10s
Add PIS Logic
2024-10-21 21:04:37 +01:00

16 lines
357 B
Go

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"`
}
type PisData struct {
Code string `json:"code"`
Stops []string `json:"stops"`
Operator string `json:"operator"`
}