mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 21:08:36 +08:00
Update to Go 1.20 + run better align (#2927)
* chore(go): update go version to 1.20. Closes #2185 * chore(go): run better align against project To optimize struct field order. Closes #2870 * chore(go): update CI jobs to use Go 1.20 * fix(go): linter warnings for Go 1.20 update
This commit is contained in:
@ -42,11 +42,11 @@ func Status(w http.ResponseWriter, r *http.Request) {
|
||||
type adminStatusResponse struct {
|
||||
Broadcaster *models.Broadcaster `json:"broadcaster"`
|
||||
CurrentBroadcast *models.CurrentBroadcast `json:"currentBroadcast"`
|
||||
Online bool `json:"online"`
|
||||
Health *models.StreamHealthOverview `json:"health"`
|
||||
StreamTitle string `json:"streamTitle"`
|
||||
VersionNumber string `json:"versionNumber"`
|
||||
ViewerCount int `json:"viewerCount"`
|
||||
OverallPeakViewerCount int `json:"overallPeakViewerCount"`
|
||||
SessionPeakViewerCount int `json:"sessionPeakViewerCount"`
|
||||
StreamTitle string `json:"streamTitle"`
|
||||
Health *models.StreamHealthOverview `json:"health"`
|
||||
VersionNumber string `json:"versionNumber"`
|
||||
Online bool `json:"online"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user