aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/api/workaround.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 20:00:48 +0900
commite9f88eefec3e4098e9374e19c9e0f7a52c319f26 (patch)
tree7c91a689aaea376985ec579d71c1169fdc2ee47a /backend/api/workaround.go
parent9e5500269746d3826382a6dec78f0e82cfda0d42 (diff)
parentef1577a212d1b5c6f908a59b943a512d33d312fe (diff)
downloadphperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.gz
phperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.tar.zst
phperkaigi-2025-albatross-e9f88eefec3e4098e9374e19c9e0f7a52c319f26.zip
Merge branch 'feat/golangci-lint'
Diffstat (limited to 'backend/api/workaround.go')
-rw-r--r--backend/api/workaround.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/api/workaround.go b/backend/api/workaround.go
index a3c47d7..5b5fe59 100644
--- a/backend/api/workaround.go
+++ b/backend/api/workaround.go
@@ -12,7 +12,7 @@ func GetSwaggerWithPrefix(prefix string) (*openapi3.T, error) {
return nil, err
}
- var prefixedPaths openapi3.Paths = openapi3.Paths{}
+ prefixedPaths := openapi3.Paths{}
for key, value := range spec.Paths.Map() {
prefixedPaths.Set(prefix+key, value)
}