mirror of
https://github.com/lunchcat/sif.git
synced 2026-03-12 21:23:04 -07:00
- noctx: use http.NewRequestWithContext instead of http.Get/client.Get - bodyclose: close response bodies on all code paths - httpNoBody: use http.NoBody instead of nil for GET request bodies - ifElseChain: convert if/else chains to switch in sif.go - sloppyReassign: use := in logger.go where possible - nilnil: annotate intentional nil,nil returns in lfi.go, sql.go - errcheck: handle template install error in nuclei.go - govet copylock: pass mutex by pointer in executor.go - log.Fatalf: replace with log.Errorf+continue in api mode