Skip to content

Commit 61ac34f

Browse files
authored
Merge pull request #89 from sparkoo/69-cleanup-unused-code
#69 cleanup unused code
2 parents 2e320ed + aeeb911 commit 61ac34f

File tree

17 files changed

+3
-1676
lines changed

17 files changed

+3
-1676
lines changed

cmd/steamsvc.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

conf/conf.go

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ const MODE_DEV Mode = "dev"
66
const MODE_PROD Mode = "prod"
77

88
type Conf struct {
9-
// Demodir string `arg:"--demodir, env:DEMODIR" default:"" help:"Path to directory with demos."`
10-
FaceitApiKey string `arg:"--faceitApiKey, env:FACEIT_APIKEY" help:"Faceit Server API key. Get it at https://developers.faceit.com/docs/auth/api-keys"`
11-
FaceitOAuthClientId string `arg:"--faceitOAuthClientId, env:FACEIT_OAUTH_CLIENT_ID"`
12-
FaceitOAuthClientSecret string `arg:"--faceitOAuthClientSecret, env:FACEIT_OAUTH_CLIENT_SECRET"`
13-
SteamWebApiKey string `arg:"--steamWebApiKey, env:STEAM_WEB_APIKEY"`
14-
Listen string `arg:"--listen, env:LISTEN" default:"127.0.0.1"`
15-
Port int `arg:"--port, env:PORT" default:"8080" help:"Server port"`
16-
Mode Mode `arg:"--mode, env:MODE" default:"dev" help:"Runtime environment mode, one of 'dev', 'prod'"`
17-
GcpStorageSAKey string `arg:"--gcpStorageKey, env:GCP_STORAGE_KEY" help:"Path to file with GCP cloud storage key."`
9+
Listen string `arg:"--listen, env:LISTEN" default:"127.0.0.1"`
10+
Port int `arg:"--port, env:PORT" default:"8080" help:"Server port"`
11+
Mode Mode `arg:"--mode, env:MODE" default:"dev" help:"Runtime environment mode, one of 'dev', 'prod'"`
1812
}
1913

2014
type ConfSteamSvc struct {

go.mod

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,64 +5,24 @@ go 1.24.0
55
toolchain go1.24.4
66

77
require (
8-
cloud.google.com/go/storage v1.43.0
98
github.com/alexflint/go-arg v1.5.1
109
github.com/golang/geo v0.0.0-20250813021530-247f39904721
11-
github.com/gorilla/websocket v1.5.3
1210
github.com/klauspost/compress v1.18.0
1311
github.com/markus-wa/demoinfocs-golang/v5 v5.0.3-0.20250812130237-b1909f883a9d
14-
github.com/sparkoo/go-steam v0.0.0-20231112203532-968479d66868
15-
github.com/stretchr/testify v1.10.0
16-
github.com/yohcop/openid-go v1.0.1
1712
go.uber.org/zap v1.27.0
18-
golang.org/x/oauth2 v0.27.0
19-
google.golang.org/api v0.187.0
2013
google.golang.org/protobuf v1.36.7
2114
)
2215

2316
require (
24-
cloud.google.com/go v0.115.0 // indirect
25-
cloud.google.com/go/auth v0.6.1 // indirect
26-
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
27-
cloud.google.com/go/compute/metadata v0.3.0 // indirect
28-
cloud.google.com/go/iam v1.1.8 // indirect
2917
github.com/alexflint/go-scalar v1.2.0 // indirect
30-
github.com/davecgh/go-spew v1.1.1 // indirect
31-
github.com/felixge/httpsnoop v1.0.4 // indirect
32-
github.com/go-logr/logr v1.4.1 // indirect
33-
github.com/go-logr/stdr v1.2.2 // indirect
34-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
35-
github.com/golang/protobuf v1.5.4 // indirect
3618
github.com/golang/snappy v1.0.0 // indirect
37-
github.com/google/s2a-go v0.1.7 // indirect
38-
github.com/google/uuid v1.6.0 // indirect
39-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
40-
github.com/googleapis/gax-go/v2 v2.12.5 // indirect
4119
github.com/markus-wa/go-unassert v0.1.3 // indirect
4220
github.com/markus-wa/gobitread v0.2.5-0.20241202000432-3c3e0bc797c6 // indirect
4321
github.com/markus-wa/godispatch v1.4.1 // indirect
4422
github.com/markus-wa/quickhull-go/v2 v2.2.0 // indirect
4523
github.com/oklog/ulid/v2 v2.1.1 // indirect
4624
github.com/pkg/errors v0.9.1 // indirect
47-
github.com/pmezard/go-difflib v1.0.0 // indirect
48-
go.opencensus.io v0.24.0 // indirect
49-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
50-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
51-
go.opentelemetry.io/otel v1.24.0 // indirect
52-
go.opentelemetry.io/otel/metric v1.24.0 // indirect
53-
go.opentelemetry.io/otel/trace v1.24.0 // indirect
5425
go.uber.org/multierr v1.11.0 // indirect
55-
golang.org/x/crypto v0.36.0 // indirect
5626
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6 // indirect
57-
golang.org/x/net v0.38.0 // indirect
58-
golang.org/x/sync v0.16.0 // indirect
59-
golang.org/x/sys v0.31.0 // indirect
6027
golang.org/x/text v0.23.0 // indirect
61-
golang.org/x/time v0.5.0 // indirect
62-
google.golang.org/genproto v0.0.0-20240624140628-dc46fd24d27d // indirect
63-
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 // indirect
64-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240624140628-dc46fd24d27d // indirect
65-
google.golang.org/grpc v1.64.1 // indirect
66-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
67-
gopkg.in/yaml.v3 v3.0.1 // indirect
6828
)

0 commit comments

Comments
 (0)