Fix go vet errors

This commit is contained in:
nxshock 2017-06-28 09:02:16 +05:00
parent 28d09be6b5
commit d08980b7e3

View file

@ -1,6 +1,3 @@
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package colorcrop_test package colorcrop_test
import ( import (
@ -12,7 +9,7 @@ import (
"github.com/nxshock/colorcrop" "github.com/nxshock/colorcrop"
) )
func ExampleBasicUsage() { func ExampleCrop() {
log.SetFlags(0) log.SetFlags(0)
// Read source image // Read source image
@ -34,7 +31,7 @@ func ExampleBasicUsage() {
png.Encode(croppedFile, croppedImage) png.Encode(croppedFile, croppedImage)
} }
func ExampleCustomComparator() { func ExampleCropWithComparator() {
log.SetFlags(0) log.SetFlags(0)
// Read source image // Read source image