Skip to content

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

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

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

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

test.yaml

on: push
Matrix: tests
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#L1397
only one cuddle assignment allowed before if statement (wsl)
golangci: src/github.com/unrolled/secure/secure_test.go#L1404
only one cuddle assignment allowed before if statement (wsl)