增加golangci-lint配置

This commit is contained in:
刘祥超
2023-08-08 18:14:48 +08:00
parent 22eb143dee
commit f9fbd23a77
9 changed files with 89 additions and 27 deletions

View File

@@ -159,7 +159,7 @@ func TestFileStorage_OpenWriter_HTTP(t *testing.T) {
t.Log(writer)
resp := &http.Response{
StatusCode: 200,
StatusCode: http.StatusOK,
Header: http.Header{
"Content-Type": []string{"text/html; charset=utf-8"},
"Last-Modified": []string{"Wed, 06 Jan 2021 10:03:29 GMT"},