You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
import (
"fmt"
t "time"
)
funcmain() {
fmt.Println("Hello, playground")
time.Sleep(time.Second)
}
Run through imports, results in:
package main
import"fmt"funcmain() {
fmt.Println("Hello, playground")
time.Sleep(time.Second)
}
Note that the named time import has been removed but not reinserted without the name. The resulting code does not compile. Running through goimports again fixes things.
Low priority corner case.
The text was updated successfully, but these errors were encountered:
http://play.golang.org/p/gmQEUKYxrG
Run through imports, results in:
Note that the named time import has been removed but not reinserted without the name. The resulting code does not compile. Running through goimports again fixes things.
Low priority corner case.
The text was updated successfully, but these errors were encountered: