Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdn-origin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
easrng
cdn-origin
Commits
29a37523
Commit
29a37523
authored
1 year ago
by
Dean
Browse files
Options
Downloads
Patches
Plain Diff
chore: upgrade to go 1.21
parent
12582ae4
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
go.mod
+35
-17
35 additions, 17 deletions
go.mod
go.sum
+49
-908
49 additions, 908 deletions
go.sum
with
86 additions
and
926 deletions
Dockerfile
+
2
−
1
View file @
29a37523
FROM
golang:1.2
0
-alpine
FROM
golang:1.2
1
-alpine
RUN
apk add
--no-cache
--virtual
.build-deps git build-base
RUN
apk add
--no-cache
--virtual
.build-deps git build-base
...
@@ -8,6 +8,7 @@ COPY main.go /git/owo.codes/whats-this/cdn-origin/
...
@@ -8,6 +8,7 @@ COPY main.go /git/owo.codes/whats-this/cdn-origin/
COPY
lib /git/owo.codes/whats-this/cdn-origin/lib
COPY
lib /git/owo.codes/whats-this/cdn-origin/lib
RUN
cd
/git/owo.codes/whats-this/cdn-origin
&&
\
RUN
cd
/git/owo.codes/whats-this/cdn-origin
&&
\
go mod download
&&
\
go build main.go
&&
\
go build main.go
&&
\
apk del .build-deps
apk del .build-deps
...
...
This diff is collapsed.
Click to expand it.
go.mod
+
35
−
17
View file @
29a37523
module
owo.codes/whats-this/cdn-origin
module
owo.codes/whats-this/cdn-origin
go 1.1
6
go 1.
2
1
require (
require (
github.com/fsnotify/fsnotify
v1.6.0 // indirect
github.com/lib/pq
v1.10.9
github.com/klauspost/compress
v1.16.5 // indirect
github.com/oschwald/maxminddb-golang
v1.12.0
github.com/lib/pq
v1.10.8
github.com/mailru/easyjson
v0.7.7 // indirect
github.com/mattn/go-colorable
v0.1.13 // indirect
github.com/mattn/go-isatty
v0.0.18 // indirect
github.com/mitchellh/go-testing-interface
v1.0.0 // indirect
github.com/oschwald/maxminddb-golang
v1.10.0
github.com/pelletier/go-toml
v1.9.5 // indirect
github.com/pelletier/go-toml/v2
v2.0.7 // indirect
github.com/pkg/errors
v0.9.1
github.com/pkg/errors
v0.9.1
github.com/rs/zerolog
v1.29.1
github.com/rs/zerolog
v1.31.0
github.com/spf13/afero
v1.9.5 // indirect
github.com/spf13/pflag
v1.0.5
github.com/spf13/pflag
v1.0.5
github.com/spf13/viper
v1.15.0
github.com/spf13/viper
v1.17.0
github.com/valyala/fasthttp
v1.46.0
github.com/valyala/fasthttp
v1.50.0
golang.org/x/sys
v0.7.0 // indirect
golang.org/x/text
v0.9.0 // indirect
gopkg.in/olivere/elastic.v5
v5.0.86
gopkg.in/olivere/elastic.v5
v5.0.86
)
)
require (
github.com/andybalholm/brotli
v1.0.6 // indirect
github.com/fsnotify/fsnotify
v1.7.0 // indirect
github.com/hashicorp/hcl
v1.0.0 // indirect
github.com/josharian/intern
v1.0.0 // indirect
github.com/klauspost/compress
v1.17.2 // indirect
github.com/magiconair/properties
v1.8.7 // indirect
github.com/mailru/easyjson
v0.7.7 // indirect
github.com/mattn/go-colorable
v0.1.13 // indirect
github.com/mattn/go-isatty
v0.0.20 // indirect
github.com/mitchellh/mapstructure
v1.5.0 // indirect
github.com/pelletier/go-toml/v2
v2.1.0 // indirect
github.com/sagikazarmark/locafero
v0.3.0 // indirect
github.com/sagikazarmark/slog-shim
v0.1.0 // indirect
github.com/sourcegraph/conc
v0.3.0 // indirect
github.com/spf13/afero
v1.10.0 // indirect
github.com/spf13/cast
v1.5.1 // indirect
github.com/spf13/jwalterweatherman
v1.1.0 // indirect
github.com/subosito/gotenv
v1.6.0 // indirect
github.com/valyala/bytebufferpool
v1.0.0 // indirect
go.uber.org/atomic
v1.11.0 // indirect
go.uber.org/multierr
v1.11.0 // indirect
golang.org/x/exp
v0.0.0-20231110203233-9a3e6036ecaa // indirect
golang.org/x/sys
v0.14.0 // indirect
golang.org/x/text
v0.14.0 // indirect
gopkg.in/ini.v1
v1.67.0 // indirect
gopkg.in/yaml.v3
v3.0.1 // indirect
)
This diff is collapsed.
Click to expand it.
go.sum
+
49
−
908
View file @
29a37523
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment