Created
December 28, 2014 04:00
-
-
Save sugilog/bed1c8a2d7b6f159702d to your computer and use it in GitHub Desktop.
パッケージ:time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
fmt.Println( time.Now() ); | |
time.Sleep( 1000 * time.Millisecond ); | |
fmt.Println( time.Now() ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment