github.com/wawandco/ox@v0.13.6-0.20230809142027-913b3d837f2a/plugins/base/fix/fixer.go (about) 1 package fix 2 3 import ( 4 "context" 5 6 "github.com/wawandco/ox/plugins/core" 7 ) 8 9 // Fixer interface is created for those commands that fill fix certain 10 // part of our code to match versions or compile correctly. Fixers are 11 // a good way to transition from old versions of the tools into newer 12 // ones 13 type Fixer interface { 14 core.Plugin 15 Fix(context.Context, string, []string) error 16 }