use multi-line import
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import "time"
|
||||
import "math/rand"
|
||||
import "sync"
|
||||
import "sync/atomic"
|
||||
import "runtime"
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"runtime"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
|
||||
@@ -9,10 +9,12 @@
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import "time"
|
||||
import "math/rand"
|
||||
import "sync/atomic"
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
)
|
||||
|
||||
// In this example our state will be owned by a single
|
||||
// goroutine. This will guarantee that the data is never
|
||||
|
||||
Reference in New Issue
Block a user