Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
maligned
✓ github.com/mdempsky/maligned
Run maligned analysis on the current package.
package main
import (
"fmt"
"github.com/mdempsky/maligned"
)
func main() {
// maligned is typically used as a command-line tool, not a library.
// This example shows how to run it programmatically.
result, err := maligned.Check("./...")
if err != nil {
panic(err)
}
for _, r := range result {
fmt.Printf("%s: %s\n", r.Pos, r.Message)
}
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20220203220013-d7cd9a96ae47latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.