Upgrade to Go 1.21 to have slices
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-03 19:28:00 +02:00
parent 5448555b8f
commit 3fed10ea16
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye AS builder
FROM golang:1.21-bullseye AS builder
WORKDIR /usr/local/src/objectivefs-docker-volume
COPY go.* ./

2
go.mod
View File

@@ -1,6 +1,6 @@
module git.ivasoft.cz/sw/objectivefs-docker-volume
go 1.20
go 1.21
require (
github.com/boltdb/bolt v1.3.1

View File

@@ -24,6 +24,7 @@ import (
"os/user"
"path"
"path/filepath"
"slices"
"strconv"
"strings"
"sync"
@@ -32,7 +33,6 @@ import (
"github.com/boltdb/bolt"
"github.com/docker/go-plugins-helpers/volume"
log "github.com/sirupsen/logrus"
"golang.org/x/exp/slices"
)
type ofsVolume struct {