From d08980b7e3077d24f5a8efed5e229d0117c1b879 Mon Sep 17 00:00:00 2001 From: nxshock Date: Wed, 28 Jun 2017 09:02:16 +0500 Subject: [PATCH] Fix go vet errors --- example_test.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/example_test.go b/example_test.go index cb12430..fc4df16 100644 --- a/example_test.go +++ b/example_test.go @@ -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 import ( @@ -12,7 +9,7 @@ import ( "github.com/nxshock/colorcrop" ) -func ExampleBasicUsage() { +func ExampleCrop() { log.SetFlags(0) // Read source image @@ -34,7 +31,7 @@ func ExampleBasicUsage() { png.Encode(croppedFile, croppedImage) } -func ExampleCustomComparator() { +func ExampleCropWithComparator() { log.SetFlags(0) // Read source image