Skip to content

feat: add lasiar/canonicalheader#22584

Merged
suzuki-shunsuke merged 1 commit intoaquaproj:mainfrom
ponkio-o:feat/lasiar/canonicalheader
May 7, 2024
Merged

feat: add lasiar/canonicalheader#22584
suzuki-shunsuke merged 1 commit intoaquaproj:mainfrom
ponkio-o:feat/lasiar/canonicalheader

Conversation

@ponkio-o
Copy link
Copy Markdown
Contributor

@ponkio-o ponkio-o commented May 7, 2024

lasiar/canonicalheader: Golang linter checking the canonicality of the http header

$ aqua g -i lasiar/canonicalheader

Check List

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

root@8fb53d00dc15:/workspace# canonicalheader
canonicalheader: canonicalheader checks whether net/http.Header uses canonical header

Usage: canonicalheader [-flag] [package]


Flags:
  -V    print version and exit
  -all
        no effect (deprecated)
  -c int
        display offending line with this many lines of context (default -1)
  -cpuprofile string
        write CPU profile to this file
  -debug string
        debug flags, any subset of "fpstv"
  -fix
        apply all suggested fixes
  -flags
        print analyzer flags in JSON
  -json
        emit JSON output
  -memprofile string
        write memory profile to this file
  -source
        no effect (deprecated)
  -tags string
        no effect (deprecated)
  -test
        indicates whether test files should be analyzed, too (default true)
  -trace string
        write trace log to this file
  -v    no effect (deprecated)

If files such as configuration file are needed, please share them.

Reference

[lasiar/canonicalheader](https://github.com/lasiar/canonicalheader): Golang linter checking the canonicality of the http header
@suzuki-shunsuke
Copy link
Copy Markdown
Member

Thank you always!

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label May 7, 2024
@suzuki-shunsuke suzuki-shunsuke merged commit fdbec4e into aquaproj:main May 7, 2024
@suzuki-shunsuke suzuki-shunsuke added this to the v4.173.0 milestone May 7, 2024
@suzuki-shunsuke
Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants