Skip to content

Commit 7cea432

Browse files
committed
go fmt project
1 parent bacd9c7 commit 7cea432

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: log.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package concurrent
22

33
import (
4-
"os"
5-
"log"
64
"io/ioutil"
5+
"log"
6+
"os"
77
)
88

99
// ErrorLogger is used to print out error, can be set to writer other than stderr
1010
var ErrorLogger = log.New(os.Stderr, "", 0)
1111

1212
// InfoLogger is used to print informational message, default to off
13-
var InfoLogger = log.New(ioutil.Discard, "", 0)
13+
var InfoLogger = log.New(ioutil.Discard, "", 0)

Diff for: unbounded_executor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package concurrent
33
import (
44
"context"
55
"fmt"
6+
"reflect"
67
"runtime"
78
"runtime/debug"
89
"sync"
910
"time"
10-
"reflect"
1111
)
1212

1313
// HandlePanic logs goroutine panic by default

Diff for: unbounded_executor_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package concurrent_test
33
import (
44
"context"
55
"fmt"
6-
"time"
76
"github.com/modern-go/concurrent"
7+
"time"
88
)
99

1010
func ExampleUnboundedExecutor_Go() {

0 commit comments

Comments
 (0)