Skip to content

Commit

Permalink
fix for go-vet errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfish-shogi committed Oct 25, 2021
1 parent b6002d2 commit e0b12f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build:

.PHONY: vet
vet:
go vet
go vet ./...

.PHONY: lint
lint:
Expand Down
14 changes: 7 additions & 7 deletions core/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ type Meta struct {
Via string `json:"via"`
RequestHeader http.Header `json:"requestHeader"`
ResponseHeader http.Header `json:"responseHeader"`
Status string `json:"status` // e.g. "200 OK"
StatusCode int `json:"statusCode` // e.g. 200
Proto string `json:"proto` // e.g. "HTTP/1.0"
ProtoMajor int `json:"protoMajor` // e.g. 1
ProtoMinor int `json:"protoMinor` // e.g. 0
ContentLength int64 `json:"contentLength`
Status string `json:"status"` // e.g. "200 OK"
StatusCode int `json:"statusCode"` // e.g. 200
Proto string `json:"proto"` // e.g. "HTTP/1.0"
ProtoMajor int `json:"protoMajor"` // e.g. 1
ProtoMinor int `json:"protoMinor"` // e.g. 0
ContentLength int64 `json:"contentLength"`
TransferEncoding []string `json:"transferEncoding"`
Uncompressed bool `json:"uncompressed`
Uncompressed bool `json:"uncompressed"`
RequestTimestamp time.Time `json:"requestTimestamp"`
DownloadTime time.Duration `json:"downloadTime"`
}
Expand Down

0 comments on commit e0b12f8

Please sign in to comment.