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

@@ -25,6 +25,7 @@ func (c *ctorstest) Generate(is []inst.Instruction) ([]byte, error) {
c.Printf("import (\n")
c.Printf("\t\"testing\"\n")
c.Printf("\t\"math\"\n")
c.NL()
c.Printf("\t\"%s/reg\"\n", pkg)
c.Printf("\t\"%s/operand\"\n", pkg)
c.Printf(")\n\n")