packr: github.com/gobuffalo/packr/v2/packr2/cmd/fix Index | Files

package fix

import "github.com/gobuffalo/packr/v2/packr2/cmd/fix"

Index

Package Files

fix.go imports.go runner.go

Variables

var YesToAll bool

YesToAll will be used by the command to skip the questions

func Run Uses

func Run() error

Run all compatible checks

type Check Uses

type Check func(*Runner) error

Check interface for runnable checker functions

type ImportConverter Uses

type ImportConverter struct {
    Data map[string]string
}

ImportConverter will changes imports from a -> b

func (ImportConverter) Process Uses

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 Uses

type Runner struct {
    Warnings []string
}

Runner will run all compatible checks

Package fix imports 16 packages (graph) and is imported by 5 packages. Updated 2019-04-23. Refresh now. Tools for package owners.