use multi-line import

This commit is contained in:
Mark McGranaghan 2012-10-21 19:25:40 -04:00
parent 459d16196a
commit 7f9b445752
2 changed files with 14 additions and 10 deletions

View File

@ -5,12 +5,14 @@
package main package main
import "fmt" import (
import "time" "fmt"
import "math/rand" "math/rand"
import "sync" "runtime"
import "sync/atomic" "sync"
import "runtime" "sync/atomic"
"time"
)
func main() { func main() {

View File

@ -9,10 +9,12 @@
package main package main
import "fmt" import (
import "time" "fmt"
import "math/rand" "math/rand"
import "sync/atomic" "sync/atomic"
"time"
)
// In this example our state will be owned by a single // In this example our state will be owned by a single
// goroutine. This will guarantee that the data is never // goroutine. This will guarantee that the data is never