CI: Apply Go linter recommendations to remaining "pkg/..." code #5330

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-11-22 16:14:43 +01:00
parent 90ab65a9b0
commit 149f5e5731
116 changed files with 541 additions and 351 deletions

View File

@@ -1,9 +1,12 @@
package media
// Src identifies a media source.
type Src = string
// Data source types.
const (
SrcLocal Src = "local"
// SrcLocal indicates the media originates from local storage.
SrcLocal Src = "local"
// SrcRemote indicates the media originates from a remote source.
SrcRemote Src = "remote"
)