Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
remove fmt print calls
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioCarrion committed Feb 13, 2019
1 parent 3039950 commit ed6e921
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions methods.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package nit

import (
"fmt"
"go/ast"
"go/token"
"reflect"
Expand Down Expand Up @@ -87,7 +86,6 @@ func (m *MethodsValidator) Validate(v *ast.FuncDecl, fset *token.FileSet) error
return err
}
m.lastType = rcvType.Name
fmt.Println(rcvType.Name)
}

m.sortedMethods.identType = "Method"
Expand Down
2 changes: 0 additions & 2 deletions sorted_names_validator.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package nit

import (
"fmt"
"go/ast"

"github.com/pkg/errors"
Expand Down Expand Up @@ -41,7 +40,6 @@ func (v *sortedNamesValidator) validateName(errPrefix string, name *ast.Ident) e
}

func (v *sortedNamesValidator) validateSortedName(errPrefix string, name *ast.Ident) error {
fmt.Printf(">>>%s - %s - %p\n", v.last, name.Name, v)
if v.last != "" && v.last > name.Name {
return errors.Wrap(errors.Errorf("%s `%s` is not sorted", v.identType, name.Name), errPrefix)
}
Expand Down

0 comments on commit ed6e921

Please sign in to comment.