Run go fmt
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
657b562f31
commit
438304f8ce
|
@ -77,8 +77,10 @@ func allowAllCORSHandler(h http.Handler) http.Handler {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
type acceptLanguageKey struct{}
|
type (
|
||||||
type langParameterKey struct{}
|
acceptLanguageKey struct{}
|
||||||
|
langParameterKey struct{}
|
||||||
|
)
|
||||||
|
|
||||||
func withAcceptLanguage(h http.Handler) http.Handler {
|
func withAcceptLanguage(h http.Handler) http.Handler {
|
||||||
return http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
|
return http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
package dlcache
|
package dlcache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"crypto/sha1"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"crypto/sha1"
|
|
||||||
|
|
||||||
"go.arsenm.dev/lure/internal/config"
|
"go.arsenm.dev/lure/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue