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
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() {

View File

@ -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