Backend: Run "make fmt" with Go v1.19
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
33f2c6bbf0
commit
b072a18a17
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
@ -20,7 +19,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package acl provides access control lists for authorization checking of user actions.
|
Package acl provides access control lists for authorization checking of user actions.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package acl
|
package acl
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ const (
|
||||||
// GET /api/v1/accounts/:id
|
// GET /api/v1/accounts/:id
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// id: string Account ID as returned by the API
|
// id: string Account ID as returned by the API
|
||||||
func GetAccount(router *gin.RouterGroup) {
|
func GetAccount(router *gin.RouterGroup) {
|
||||||
router.GET("/accounts/:id", func(c *gin.Context) {
|
router.GET("/accounts/:id", func(c *gin.Context) {
|
||||||
|
@ -63,6 +64,7 @@ func GetAccount(router *gin.RouterGroup) {
|
||||||
// GET /api/v1/accounts/:id/folders
|
// GET /api/v1/accounts/:id/folders
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// id: string Account ID as returned by the API
|
// id: string Account ID as returned by the API
|
||||||
func GetAccountFolders(router *gin.RouterGroup) {
|
func GetAccountFolders(router *gin.RouterGroup) {
|
||||||
router.GET("/accounts/:id/folders", func(c *gin.Context) {
|
router.GET("/accounts/:id/folders", func(c *gin.Context) {
|
||||||
|
@ -121,6 +123,7 @@ func GetAccountFolders(router *gin.RouterGroup) {
|
||||||
// GET /api/v1/accounts/:id/share
|
// GET /api/v1/accounts/:id/share
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// id: string Account ID as returned by the API
|
// id: string Account ID as returned by the API
|
||||||
func ShareWithAccount(router *gin.RouterGroup) {
|
func ShareWithAccount(router *gin.RouterGroup) {
|
||||||
router.POST("/accounts/:id/share", func(c *gin.Context) {
|
router.POST("/accounts/:id/share", func(c *gin.Context) {
|
||||||
|
@ -230,6 +233,7 @@ func CreateAccount(router *gin.RouterGroup) {
|
||||||
// PUT /api/v1/accounts/:id
|
// PUT /api/v1/accounts/:id
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// id: string Account ID as returned by the API
|
// id: string Account ID as returned by the API
|
||||||
func UpdateAccount(router *gin.RouterGroup) {
|
func UpdateAccount(router *gin.RouterGroup) {
|
||||||
router.PUT("/accounts/:id", func(c *gin.Context) {
|
router.PUT("/accounts/:id", func(c *gin.Context) {
|
||||||
|
@ -301,6 +305,7 @@ func UpdateAccount(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/accounts/:id
|
// DELETE /api/v1/accounts/:id
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// id: string Account ID as returned by the API
|
// id: string Account ID as returned by the API
|
||||||
func DeleteAccount(router *gin.RouterGroup) {
|
func DeleteAccount(router *gin.RouterGroup) {
|
||||||
router.DELETE("/accounts/:id", func(c *gin.Context) {
|
router.DELETE("/accounts/:id", func(c *gin.Context) {
|
||||||
|
|
|
@ -239,6 +239,7 @@ func DeleteAlbum(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/albums/:uid/like
|
// POST /api/v1/albums/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Album UID
|
// uid: string Album UID
|
||||||
func LikeAlbum(router *gin.RouterGroup) {
|
func LikeAlbum(router *gin.RouterGroup) {
|
||||||
router.POST("/albums/:uid/like", func(c *gin.Context) {
|
router.POST("/albums/:uid/like", func(c *gin.Context) {
|
||||||
|
@ -277,6 +278,7 @@ func LikeAlbum(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/albums/:uid/like
|
// DELETE /api/v1/albums/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Album UID
|
// uid: string Album UID
|
||||||
func DislikeAlbum(router *gin.RouterGroup) {
|
func DislikeAlbum(router *gin.RouterGroup) {
|
||||||
router.DELETE("/albums/:uid/like", func(c *gin.Context) {
|
router.DELETE("/albums/:uid/like", func(c *gin.Context) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package api provides REST API request handlers.
|
Package api provides REST API request handlers.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package api
|
package api
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ const (
|
||||||
// GET /api/v1/albums/:uid/t/:token/:size
|
// GET /api/v1/albums/:uid/t/:token/:size
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string album uid
|
// uid: string album uid
|
||||||
// token: string security token (see config)
|
// token: string security token (see config)
|
||||||
// size: string thumb type, see photoprism.ThumbnailTypes
|
// size: string thumb type, see photoprism.ThumbnailTypes
|
||||||
|
@ -138,6 +139,7 @@ func AlbumCover(router *gin.RouterGroup) {
|
||||||
// GET /api/v1/labels/:uid/t/:token/:size
|
// GET /api/v1/labels/:uid/t/:token/:size
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string label uid
|
// uid: string label uid
|
||||||
// token: string security token (see config)
|
// token: string security token (see config)
|
||||||
// size: string thumb type, see photoprism.ThumbnailTypes
|
// size: string thumb type, see photoprism.ThumbnailTypes
|
||||||
|
|
|
@ -37,6 +37,7 @@ func DownloadName(c *gin.Context) entity.DownloadName {
|
||||||
// GET /api/v1/dl/:hash
|
// GET /api/v1/dl/:hash
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// hash: string The file hash as returned by the files/photos endpoint
|
// hash: string The file hash as returned by the files/photos endpoint
|
||||||
func GetDownload(router *gin.RouterGroup) {
|
func GetDownload(router *gin.RouterGroup) {
|
||||||
router.GET("/dl/:hash", func(c *gin.Context) {
|
router.GET("/dl/:hash", func(c *gin.Context) {
|
||||||
|
|
|
@ -19,6 +19,7 @@ import (
|
||||||
// DELETE /api/v1/photos/:uid/files/:file_uid
|
// DELETE /api/v1/photos/:uid/files/:file_uid
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Photo UID as returned by the API
|
// uid: string Photo UID as returned by the API
|
||||||
// file_uid: string File UID as returned by the API
|
// file_uid: string File UID as returned by the API
|
||||||
func DeleteFile(router *gin.RouterGroup) {
|
func DeleteFile(router *gin.RouterGroup) {
|
||||||
|
|
|
@ -24,6 +24,7 @@ const (
|
||||||
// GET /api/v1/folders/t/:hash/:token/:size
|
// GET /api/v1/folders/t/:hash/:token/:size
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string folder uid
|
// uid: string folder uid
|
||||||
// token: string url security token, see config
|
// token: string url security token, see config
|
||||||
// size: string thumb type, see thumb.Sizes
|
// size: string thumb type, see thumb.Sizes
|
||||||
|
|
|
@ -59,6 +59,7 @@ func UpdateLabel(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/labels/:uid/like
|
// POST /api/v1/labels/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Label UID
|
// uid: string Label UID
|
||||||
func LikeLabel(router *gin.RouterGroup) {
|
func LikeLabel(router *gin.RouterGroup) {
|
||||||
router.POST("/labels/:uid/like", func(c *gin.Context) {
|
router.POST("/labels/:uid/like", func(c *gin.Context) {
|
||||||
|
@ -99,6 +100,7 @@ func LikeLabel(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/labels/:uid/like
|
// DELETE /api/v1/labels/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Label UID
|
// uid: string Label UID
|
||||||
func DislikeLabel(router *gin.RouterGroup) {
|
func DislikeLabel(router *gin.RouterGroup) {
|
||||||
router.DELETE("/labels/:uid/like", func(c *gin.Context) {
|
router.DELETE("/labels/:uid/like", func(c *gin.Context) {
|
||||||
|
|
|
@ -73,6 +73,7 @@ func findFileMarker(c *gin.Context) (file *entity.File, marker *entity.Marker, e
|
||||||
// PUT /api/v1/markers/:marker_uid
|
// PUT /api/v1/markers/:marker_uid
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Photo UID as returned by the API
|
// uid: string Photo UID as returned by the API
|
||||||
// file_uid: string File UID as returned by the API
|
// file_uid: string File UID as returned by the API
|
||||||
// id: int Marker ID as returned by the API
|
// id: int Marker ID as returned by the API
|
||||||
|
@ -157,6 +158,7 @@ func UpdateMarker(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/markers/:marker_uid/subject
|
// DELETE /api/v1/markers/:marker_uid/subject
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Photo UID as returned by the API
|
// uid: string Photo UID as returned by the API
|
||||||
// file_uid: string File UID as returned by the API
|
// file_uid: string File UID as returned by the API
|
||||||
// id: int Marker ID as returned by the API
|
// id: int Marker ID as returned by the API
|
||||||
|
|
|
@ -162,6 +162,7 @@ func GetPhotoDownload(router *gin.RouterGroup) {
|
||||||
// GET /api/v1/photos/:uid/yaml
|
// GET /api/v1/photos/:uid/yaml
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
func GetPhotoYaml(router *gin.RouterGroup) {
|
func GetPhotoYaml(router *gin.RouterGroup) {
|
||||||
router.GET("/photos/:uid/yaml", func(c *gin.Context) {
|
router.GET("/photos/:uid/yaml", func(c *gin.Context) {
|
||||||
|
@ -197,6 +198,7 @@ func GetPhotoYaml(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/photos/:uid/approve
|
// POST /api/v1/photos/:uid/approve
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
func ApprovePhoto(router *gin.RouterGroup) {
|
func ApprovePhoto(router *gin.RouterGroup) {
|
||||||
router.POST("/photos/:uid/approve", func(c *gin.Context) {
|
router.POST("/photos/:uid/approve", func(c *gin.Context) {
|
||||||
|
@ -232,6 +234,7 @@ func ApprovePhoto(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/photos/:uid/like
|
// POST /api/v1/photos/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
func LikePhoto(router *gin.RouterGroup) {
|
func LikePhoto(router *gin.RouterGroup) {
|
||||||
router.POST("/photos/:uid/like", func(c *gin.Context) {
|
router.POST("/photos/:uid/like", func(c *gin.Context) {
|
||||||
|
@ -267,6 +270,7 @@ func LikePhoto(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/photos/:uid/like
|
// DELETE /api/v1/photos/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
func DislikePhoto(router *gin.RouterGroup) {
|
func DislikePhoto(router *gin.RouterGroup) {
|
||||||
router.DELETE("/photos/:uid/like", func(c *gin.Context) {
|
router.DELETE("/photos/:uid/like", func(c *gin.Context) {
|
||||||
|
@ -302,6 +306,7 @@ func DislikePhoto(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/photos/:uid/files/:file_uid/primary
|
// POST /api/v1/photos/:uid/files/:file_uid/primary
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
// file_uid: string File UID as returned by the API
|
// file_uid: string File UID as returned by the API
|
||||||
func PhotoPrimary(router *gin.RouterGroup) {
|
func PhotoPrimary(router *gin.RouterGroup) {
|
||||||
|
|
|
@ -19,6 +19,7 @@ import (
|
||||||
// POST /api/v1/photos/:uid/label
|
// POST /api/v1/photos/:uid/label
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
func AddPhotoLabel(router *gin.RouterGroup) {
|
func AddPhotoLabel(router *gin.RouterGroup) {
|
||||||
router.POST("/photos/:uid/label", func(c *gin.Context) {
|
router.POST("/photos/:uid/label", func(c *gin.Context) {
|
||||||
|
@ -93,6 +94,7 @@ func AddPhotoLabel(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/photos/:uid/label/:id
|
// DELETE /api/v1/photos/:uid/label/:id
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
// id: int LabelId as returned by the API
|
// id: int LabelId as returned by the API
|
||||||
func RemovePhotoLabel(router *gin.RouterGroup) {
|
func RemovePhotoLabel(router *gin.RouterGroup) {
|
||||||
|
@ -157,6 +159,7 @@ func RemovePhotoLabel(router *gin.RouterGroup) {
|
||||||
// PUT /api/v1/photos/:uid/label/:id
|
// PUT /api/v1/photos/:uid/label/:id
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string PhotoUID as returned by the API
|
// uid: string PhotoUID as returned by the API
|
||||||
// id: int LabelId as returned by the API
|
// id: int LabelId as returned by the API
|
||||||
func UpdatePhotoLabel(router *gin.RouterGroup) {
|
func UpdatePhotoLabel(router *gin.RouterGroup) {
|
||||||
|
|
|
@ -22,6 +22,7 @@ import (
|
||||||
// POST /api/v1/photos/:uid/files/:file_uid/unstack
|
// POST /api/v1/photos/:uid/files/:file_uid/unstack
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Photo UID as returned by the API
|
// uid: string Photo UID as returned by the API
|
||||||
// file_uid: string File UID as returned by the API
|
// file_uid: string File UID as returned by the API
|
||||||
func PhotoUnstack(router *gin.RouterGroup) {
|
func PhotoUnstack(router *gin.RouterGroup) {
|
||||||
|
|
|
@ -99,6 +99,7 @@ func UpdateSubject(router *gin.RouterGroup) {
|
||||||
// POST /api/v1/subjects/:uid/like
|
// POST /api/v1/subjects/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Subject UID
|
// uid: string Subject UID
|
||||||
func LikeSubject(router *gin.RouterGroup) {
|
func LikeSubject(router *gin.RouterGroup) {
|
||||||
router.POST("/subjects/:uid/like", func(c *gin.Context) {
|
router.POST("/subjects/:uid/like", func(c *gin.Context) {
|
||||||
|
@ -133,6 +134,7 @@ func LikeSubject(router *gin.RouterGroup) {
|
||||||
// DELETE /api/v1/subjects/:uid/like
|
// DELETE /api/v1/subjects/:uid/like
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// uid: string Subject UID
|
// uid: string Subject UID
|
||||||
func DislikeSubject(router *gin.RouterGroup) {
|
func DislikeSubject(router *gin.RouterGroup) {
|
||||||
router.DELETE("/subjects/:uid/like", func(c *gin.Context) {
|
router.DELETE("/subjects/:uid/like", func(c *gin.Context) {
|
||||||
|
|
|
@ -21,6 +21,7 @@ import (
|
||||||
// GET /api/v1/t/:thumb/:token/:size
|
// GET /api/v1/t/:thumb/:token/:size
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// thumb: string sha1 file hash plus optional crop area
|
// thumb: string sha1 file hash plus optional crop area
|
||||||
// token: string url security token, see config
|
// token: string url security token, see config
|
||||||
// size: string thumb type, see thumb.Sizes
|
// size: string thumb type, see thumb.Sizes
|
||||||
|
|
|
@ -20,6 +20,7 @@ import (
|
||||||
// GET /api/v1/videos/:hash/:token/:type
|
// GET /api/v1/videos/:hash/:token/:type
|
||||||
//
|
//
|
||||||
// Parameters:
|
// Parameters:
|
||||||
|
//
|
||||||
// hash: string The photo or video file hash as returned by the search API
|
// hash: string The photo or video file hash as returned by the search API
|
||||||
// type: string Video format
|
// type: string Video format
|
||||||
func GetVideo(router *gin.RouterGroup) {
|
func GetVideo(router *gin.RouterGroup) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package auto provides workers for background indexing and import operations.
|
Package auto provides workers for background indexing and import operations.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package auto
|
package auto
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package classify encapsulates image classification using TensorFlow.
|
Package classify encapsulates image classification using TensorFlow.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package classify
|
package classify
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package commands provides photoprism CLI (sub-)commands.
|
Package commands provides photoprism CLI (sub-)commands.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package commands
|
package commands
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package config provides global options, command-line flags, and user settings.
|
Package config provides global options, command-line flags, and user settings.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package config
|
package config
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package crop provides image crop data structures and helpers.
|
Package crop provides image crop data structures and helpers.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package crop
|
package crop
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package event provides a publish-subscribe event hub and a global logger.
|
Package event provides a publish-subscribe event hub and a global logger.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package event
|
package event
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package face provides face recognition.
|
Package face provides face recognition.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package face
|
package face
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package ffmpeg provides FFmpeg video transcoding related types and functions.
|
Package ffmpeg provides FFmpeg video transcoding related types and functions.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package ffmpeg
|
package ffmpeg
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package form contains tagged structs for input value validation.
|
Package form contains tagged structs for input value validation.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package form
|
package form
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package hub provides privacy-preserving reverse geocoding and other backend services.
|
Package hub provides privacy-preserving reverse geocoding and other backend services.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package hub
|
package hub
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package places provides global location information to enrich metadata with location details.
|
Package places provides global location information to enrich metadata with location details.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package places
|
package places
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package i18n provides translatable notification and error messages.
|
Package i18n provides translatable notification and error messages.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package i18n
|
package i18n
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package maps provides a location lookup abstraction including a normalized list of countries.
|
Package maps provides a location lookup abstraction including a normalized list of countries.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package maps
|
package maps
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package meta provides XMP and Exif metadata parsing and normalization.
|
Package meta provides XMP and Exif metadata parsing and normalization.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package meta
|
package meta
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package migrate provides database schema migrations.
|
Package migrate provides database schema migrations.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package migrate
|
package migrate
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package mutex provides concurrency control for index workers and database operations.
|
Package mutex provides concurrency control for index workers and database operations.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package mutex
|
package mutex
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package nsfw provides detection of images that are "not safe for work" based on various categories.
|
Package nsfw provides detection of images that are "not safe for work" based on various categories.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package nsfw
|
package nsfw
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package photoprism provides the core functionality of PhotoPrism®.
|
Package photoprism provides the core functionality of PhotoPrism®.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package photoprism
|
package photoprism
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package query provides frequently used database queries for use in commands and API.
|
Package query provides frequently used database queries for use in commands and API.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package query
|
package query
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package remote provides detection of remote services for file sharing and synchronization.
|
Package remote provides detection of remote services for file sharing and synchronization.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package remote
|
package remote
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package webdav provides WebDAV file sharing and synchronization.
|
Package webdav provides WebDAV file sharing and synchronization.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package webdav
|
package webdav
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package search provides search queries to find photos, albums, labels, and subjects.
|
Package search provides search queries to find photos, albums, labels, and subjects.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package search
|
package search
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package server provides REST and web server routing, request handling and logging.
|
Package server provides REST and web server routing, request handling and logging.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package server
|
package server
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package service provides a registry for common services.
|
Package service provides a registry for common services.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package service
|
package service
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package session provides session storage and management.
|
Package session provides session storage and management.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package session
|
package session
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package thumb provides JPEG resampling and thumbnail generation.
|
Package thumb provides JPEG resampling and thumbnail generation.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package thumb
|
package thumb
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package viewer provides photo viewer data structures and utility functions.
|
Package viewer provides photo viewer data structures and utility functions.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package viewer
|
package viewer
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package workers provides index, sync, and metadata optimization background workers.
|
Package workers provides index, sync, and metadata optimization background workers.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package workers
|
package workers
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package capture provides profiling functions for testing and debugging.
|
Package capture provides profiling functions for testing and debugging.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package capture
|
package capture
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package clean provides validation, sanitation, and normalization of input values.
|
Package clean provides validation, sanitation, and normalization of input values.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package clean
|
package clean
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package colors provides types and functions for color classification.
|
Package colors provides types and functions for color classification.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package colors
|
package colors
|
||||||
|
|
||||||
|
|
2
pkg/env/env.go
vendored
2
pkg/env/env.go
vendored
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package env provides runtime environment information.
|
Package env provides runtime environment information.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package env
|
package env
|
||||||
|
|
|
@ -40,12 +40,12 @@ var ErrSkipFiles = errors.New("fastwalk: skip remaining files in directory")
|
||||||
// If fastWalk returns filepath.SkipDir, the directory is skipped.
|
// If fastWalk returns filepath.SkipDir, the directory is skipped.
|
||||||
//
|
//
|
||||||
// Unlike filepath.Walk:
|
// Unlike filepath.Walk:
|
||||||
// * file stat calls must be done by the user.
|
// - file stat calls must be done by the user.
|
||||||
// The only provided metadata is the file type, which does not include
|
// The only provided metadata is the file type, which does not include
|
||||||
// any permission bits.
|
// any permission bits.
|
||||||
// * multiple goroutines stat the filesystem concurrently. The provided
|
// - multiple goroutines stat the filesystem concurrently. The provided
|
||||||
// walkFn must be safe for concurrent use.
|
// walkFn must be safe for concurrent use.
|
||||||
// * fastWalk can follow symlinks if walkFn returns the TraverseLink
|
// - fastWalk can follow symlinks if walkFn returns the TraverseLink
|
||||||
// sentinel error. It is the walkFn's responsibility to prevent
|
// sentinel error. It is the walkFn's responsibility to prevent
|
||||||
// fastWalk from going into symlink cycles.
|
// fastWalk from going into symlink cycles.
|
||||||
func Walk(root string, walkFn func(path string, typ os.FileMode) error) error {
|
func Walk(root string, walkFn func(path string, typ os.FileMode) error) error {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package fs provides filesystem related constants and functions.
|
Package fs provides filesystem related constants and functions.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package fs
|
package fs
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package geo provides earth geometry functions and constants.
|
Package geo provides earth geometry functions and constants.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package geo
|
package geo
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package list provides a string slice abstraction.
|
Package list provides a string slice abstraction.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package list
|
package list
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package media provides general content types and maps them to file formats.
|
Package media provides general content types and maps them to file formats.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package media
|
package media
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package pluscode provides an abstraction for Google's Open Location Code package.
|
Package pluscode provides an abstraction for Google's Open Location Code package.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package pluscode
|
package pluscode
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package projection provides visual projection types and methods.
|
Package projection provides visual projection types and methods.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package projection
|
package projection
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package report provides rendering of report results, for example as Markdown.
|
Package report provides rendering of report results, for example as Markdown.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package report
|
package report
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package rnd provides random token generation and validation.
|
Package rnd provides random token generation and validation.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package rnd
|
package rnd
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package s2 encapsulates Google's S2 library.
|
Package s2 encapsulates Google's S2 library.
|
||||||
|
|
||||||
See https://s2geometry.io/
|
See https://s2geometry.io/
|
||||||
|
@ -24,7 +23,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package s2
|
package s2
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package txt provides text and linguistics related functionality.
|
Package txt provides text and linguistics related functionality.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,7 +21,6 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package txt
|
package txt
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Package video provides video file related types and functions.
|
Package video provides video file related types and functions.
|
||||||
|
|
||||||
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
Copyright (c) 2018 - 2022 PhotoPrism UG. All rights reserved.
|
||||||
|
@ -22,6 +21,5 @@ want to support our work, or just want to say hello.
|
||||||
|
|
||||||
Additional information can be found in our Developer Guide:
|
Additional information can be found in our Developer Guide:
|
||||||
<https://docs.photoprism.app/developer-guide/>
|
<https://docs.photoprism.app/developer-guide/>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package video
|
package video
|
||||||
|
|
Loading…
Reference in a new issue