mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
go1.20 compat slices
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
package pages
|
package pages
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"slices"
|
|
||||||
|
|
||||||
"github.com/anacrolix/torrent/metainfo"
|
"github.com/anacrolix/torrent/metainfo"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
||||||
@@ -10,6 +8,8 @@ import (
|
|||||||
"server/torr"
|
"server/torr"
|
||||||
"server/web/auth"
|
"server/web/auth"
|
||||||
"server/web/pages/template"
|
"server/web/pages/template"
|
||||||
|
|
||||||
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SetupRoute(route gin.IRouter) {
|
func SetupRoute(route gin.IRouter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user