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