Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Smith committed Jul 2, 2020
1 parent eefdf12 commit acab1ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ func findStructs(node ast.Node) map[string]*ast.StructType {
switch t := n.(type) {
case *ast.TypeSpec:
if s, ok := t.Type.(*ast.StructType); ok {
if t.Name.Name == "CargoEvent" {
structs[t.Name.Name] = s
}
structs[t.Name.Name] = s
}
}
return true
Expand Down

0 comments on commit acab1ac

Please sign in to comment.