package fix
import "github.com/gobuffalo/packr/v2/packr2/cmd/fix"
Index ¶
Variables ¶
var YesToAll bool
YesToAll will be used by the command to skip the questions
Functions ¶
func Run ¶
func Run() error
Run all compatible checks
Types ¶
type Check ¶
Check interface for runnable checker functions
type ImportConverter ¶
ImportConverter will changes imports from a -> b
func (ImportConverter) Process ¶
func (c ImportConverter) Process(r *Runner) error
Process will walk all the .go files in an application, excluding ./vendor. It will then attempt to convert any old import paths to any new import paths used by this version Buffalo.
type Runner ¶
type Runner struct { Warnings []string }
Runner will run all compatible checks
Source Files ¶
- Version
- v2.8.3 (latest)
- Published
- Nov 23, 2021
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 17 hours ago –
Tools for package owners.