kopia lustrzana https://github.com/cyoung/stratux
Formatting.
rodzic
8d312f8d1f
commit
e13ba80f17
|
@ -4,12 +4,11 @@ import (
|
|||
"bufio"
|
||||
"fmt"
|
||||
"os"
|
||||
"time"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
func main() {
|
||||
if len(os.Args) < 2 {
|
||||
fmt.Printf("%s <replay log>\n", os.Args[0])
|
||||
|
@ -41,8 +40,8 @@ func main() {
|
|||
}
|
||||
thisWait := i - curTick
|
||||
time.Sleep(time.Duration(thisWait) * time.Nanosecond) // Just in case the units change.
|
||||
fmt.Printf("%s\n", linesplit[1])
|
||||
fmt.Printf("%s", linesplit[1])
|
||||
curTick = i
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue