Skip to content

Commit

Permalink
Prepare release 2.0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyashtrikul committed Jan 9, 2021
1 parent 6d10256 commit cfef90b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gen/generators/interfaces/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package interfaces
import (
"bytes"
"fmt"
"go/ast"
"go/format"
"go/types"
"io"
Expand Down Expand Up @@ -103,13 +102,6 @@ func (g generator) writeOut(ctx *genall.GenerationContext, root *loader.Package,
}

func (g generator) generatePackage(ctx *genall.GenerationContext, root *loader.Package) []byte {
ctx.Checker.Check(root, func(node ast.Node) bool {
// ignore non-interfaces
_, isStruct := node.(*ast.StructType)

return isStruct
})

root.NeedTypesInfo()

var serviceContract *parser.Object
Expand Down

0 comments on commit cfef90b

Please sign in to comment.