use multi-line import
This commit is contained in:
parent
459d16196a
commit
7f9b445752
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user