Created
January 21, 2019 02:42
-
-
Save cwbak/3e322d1664cf3d9d10e3faddc45e2d8c to your computer and use it in GitHub Desktop.
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.Printf("Current Unix Time: %v\n", time.Now().Unix()) | |
time.Sleep(2 * time.Second) | |
fmt.Printf("Current Unix Time: %v\n", time.Now().Unix()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment