Skip to content

Commit

Permalink
fix: remove forgotten fmt.Print
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Jan 28, 2019
1 parent 73e8675 commit ab1d9b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ before:
- go generate ./...
- gometalinter.v2 ./... --vendor --deadline=1m --disable-all --enable=gosec
- golangci-lint run --enable-all
- go test -failfast -race ./...
builds:
- env:
- CGO_ENABLED=0
Expand Down
3 changes: 0 additions & 3 deletions avg/distance.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package avg

import (
"context"
"fmt"

"github.com/AskAlexSharov/imgdiff/loader"
"github.com/Nr90/imgsim"
Expand All @@ -25,8 +24,6 @@ func Distance(ctx context.Context, fileName1, fileName2 string) (int, error) {
}
ahash2 := imgsim.AverageHash(r2.Img)

fmt.Println(ahash1)
fmt.Println(ahash2)
return imgsim.Distance(ahash1, ahash2) % 64, nil // because 64 bit hash
}

Expand Down

0 comments on commit ab1d9b2

Please sign in to comment.