all: formatting (#93)

Enforce stricter formatting and import grouping with gofumports.
This commit is contained in:
Michael McLoughlin
2019-07-30 18:40:47 -07:00
committed by GitHub
parent d43efabdbe
commit bb615f61ce
11 changed files with 34 additions and 5 deletions

View File

@@ -5,13 +5,14 @@ import (
"fmt"
"go/types"
"golang.org/x/tools/go/packages"
"github.com/mmcloughlin/avo/attr"
"github.com/mmcloughlin/avo/buildtags"
"github.com/mmcloughlin/avo/gotypes"
"github.com/mmcloughlin/avo/ir"
"github.com/mmcloughlin/avo/operand"
"github.com/mmcloughlin/avo/reg"
"golang.org/x/tools/go/packages"
)
// Context maintains state for incrementally building an avo File.

View File

@@ -3,8 +3,9 @@
package build
import (
"github.com/mmcloughlin/avo/operand"
"go/types"
"github.com/mmcloughlin/avo/operand"
)
func (c *Context) mov(a, b operand.Op, an, bn int, t *types.Basic) {