package uuid_test

import (
	"log"

	"github.com/northbright/uuid"
)

func ExampleNew() {
	for i := 0; i < 5; i++ {
		uuid, _ := uuid.New()
		log.Printf("%v", uuid)
	}
	// Output:
}

package uuid_test

import (
	"fmt"

	"github.com/northbright/uuid"
)

func ExampleNew() {
	for i := 0; i < 5; i++ {
		uuid, _ := uuid.New()
		fmt.Printf("%v\n", uuid)
	}
	// Output:
}

--- 
+++ 
@@ -1,7 +1,7 @@
 package uuid_test
 
 import (
-	"fmt"
+	"log"
 
 	"github.com/northbright/uuid"
 )
@@ -9,7 +9,7 @@
 func ExampleNew() {
 	for i := 0; i < 5; i++ {
 		uuid, _ := uuid.New()
-		fmt.Printf("%v\n", uuid)
+		log.Printf("%v", uuid)
 	}
 	// Output:
 }
Replace fmt with log to fix test fail
