mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CI: Apply Go linter recommendations to remaining "pkg/..." code #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user