Last active
June 10, 2022 17:03
-
-
Save LuisEGR/559cdd17f2f7e47cac36fc6a0ce2c4a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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" | |
"github.com/google/uuid" | |
) | |
func main() { | |
for { | |
id := uuid.New() | |
fmt.Println("This is the new id: ", id.String()) | |
time.Sleep(4 * time.Second) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment