Chore/bump minimum go version to 1.21 (#375)

* chore: fix go fmt in makefile

* chore: bump minimum go version to 1.21
This commit is contained in:
Chris F Ravenscroft
2023-12-17 16:39:35 -08:00
committed by GitHub
parent 0bf3d4a82a
commit 837da62607
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go-version: [1.19.x, 1.20.x, 1.21.x]
go-version: [1.21.x]
steps:
- name: Install Go
uses: actions/setup-go@v4
+1 -1
View File
@@ -87,7 +87,7 @@ updatetest:
./scripts/ci/integration-test.sh
format:
go fmt
go fmt ./...
devrun:
go run ${BUILD_FILES} -c sample-simple.cfg
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/glauth/glauth/v2
go 1.19
go 1.21
require (
github.com/BurntSushi/toml v1.3.2
+1 -1
View File
@@ -22,7 +22,7 @@ import (
)
type Tracer struct {
embedded.Tracer
embedded.Tracer
tracer trace.Tracer
+6 -6
View File
@@ -16,12 +16,12 @@ type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Logger zerolog.Logger
Config *config.Config
TLSConfig *tls.Config
Monitor monitoring.MonitorInterface
Tracer trace.Tracer
Context context.Context
Logger zerolog.Logger
Config *config.Config
TLSConfig *tls.Config
Monitor monitoring.MonitorInterface
Tracer trace.Tracer
Context context.Context
}
// newOptions initializes the available default options.