photoprism/internal/session
Eng Zer Jun 44f7700c0c
Enable module graph pruning and deprecate io/ioutil (#1600)
* Backend: Enable Go module graph pruning and lazy module loading

This commit applies the changes by running `go mod tidy -go=1.17` to
enable module graph pruning and lazy module loading supported by Go 1.17
or higher.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* Backend: Move from io/ioutil to io and os package

The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-06 07:10:50 +02:00
..
testdata Keep sessions for 7 days 2020-04-20 13:50:28 +02:00
data.go Shares: Show all albums on overview page #776 2020-12-31 12:34:06 +01:00
data_test.go Shares: Show all albums on overview page #776 2020-12-31 12:34:06 +01:00
save.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
session.go Update copyright after year change 2021-01-01 22:37:25 +01:00
session_test.go Sharing: Token authentication #18 2020-06-25 01:20:58 +02:00
store.go Sessions: Change log levels & add docs #1103 2021-04-30 10:07:20 +02:00
store_test.go Backend: Add unit tests 2020-10-20 11:05:02 +02:00
token.go Sessions: Change log levels & add docs #1103 2021-04-30 10:07:20 +02:00
token_test.go Sharing: ACL authorization for REST API #18 2020-06-25 14:54:04 +02:00