mirror of
https://github.com/OliveTin/OliveTin
synced 2026-08-25 12:06:28 +00:00
chore: migrated from experimental go slices to stdlib slices
This commit is contained in:
@@ -39,6 +39,10 @@ linters:
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- gosec
|
||||
- path: _test\.go
|
||||
text: "fieldalignment:"
|
||||
linters:
|
||||
- govet
|
||||
- path: scripts/
|
||||
linters:
|
||||
- gosec
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
config "github.com/OliveTin/OliveTin/internal/config"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"golang.org/x/exp/slices"
|
||||
"slices"
|
||||
)
|
||||
|
||||
type PermissionBits int
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
entities "github.com/OliveTin/OliveTin/internal/entities"
|
||||
"github.com/OliveTin/OliveTin/internal/tpl"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"golang.org/x/exp/slices"
|
||||
"slices"
|
||||
)
|
||||
|
||||
func renderDashboard(rr *DashboardRenderRequest, dashboardTitle string) *apiv1.Dashboard {
|
||||
|
||||
Reference in New Issue
Block a user