Categorygithub.com/0num4/go-detect-info-logging
modulepackage
0.0.0-20240616093943-e341e575e1c5
Repository: https://github.com/0num4/go-detect-info-logging.git
Documentation: pkg.go.dev

# README

go-detect-info-logging

info レベルのログを検知する golang-ci-lint のプラグイン

使い方

TBD

ref

https://egawata.hatenablog.com/entry/2021/08/29/005012 https://disaev.me/p/writing-useful-go-analysis-linter/

go/analysis について

golang.org/x/tools のツールの一つ。

https://zenn.dev/tenntenn/books/d168faebb1a739/viewer/9d590e ソースコードを parse して AST を取得する

x/tools/go/analysisのanalysis.Analyzer構造体の使い方

Runにanalyzerのfunctionを渡す

# Functions

func New(conf any) []*analysis.Analyzer { analyzer := &analysis.Analyzer{} // return analyzer }.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author