Skip to content

skip func fields in marshalling Options (json,yaml,toml) (#97) #13

skip func fields in marshalling Options (json,yaml,toml) (#97)

skip func fields in marshalling Options (json,yaml,toml) (#97) #13

Triggered via push September 27, 2024 20:56
Status Failure
Total duration 14s
Artifacts

lint.yaml

on: push
golangci
7s
golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci: src/github.com/unrolled/secure/secure_test.go#L1380
File is not `gofumpt`-ed (gofumpt)
golangci: src/github.com/unrolled/secure/secure_test.go#L1392
File is not `gofumpt`-ed (gofumpt)
golangci: src/github.com/unrolled/secure/secure.go#L101
tag is not aligned , should be: json:"-" toml:"-" yaml:"-" (tagalign)
golangci: src/github.com/unrolled/secure/secure.go#L106
tag is not aligned , should be: json:"-" toml:"-" yaml:"-" (tagalign)
golangci: src/github.com/unrolled/secure/secure_test.go#L1384
`encoding/json.Marshal` for unsupported type `func()` found (errchkjson)
golangci: src/github.com/unrolled/secure/secure_test.go#L1396
the given struct should be annotated with the `json` tag (musttag)
golangci: src/github.com/unrolled/secure/secure_test.go#L1403
the given struct should be annotated with the `json` tag (musttag)
golangci: src/github.com/unrolled/secure/secure_test.go#L1407
the given struct should be annotated with the `json` tag (musttag)
golangci: src/github.com/unrolled/secure/secure_test.go#L1385
only one cuddle assignment allowed before if statement (wsl)
golangci: src/github.com/unrolled/secure/secure_test.go#L1397
only one cuddle assignment allowed before if statement (wsl)