https://github.com/hapoon/ulid-demo
https://github.com/hapoon/ulid-demo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hapoon/ulid-demo
- Owner: hapoon
- License: mit
- Created: 2021-04-22T05:45:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-22T05:50:09.000Z (about 5 years ago)
- Last Synced: 2023-03-11T01:44:37.455Z (over 3 years ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ulid-demo
## Run
```
% go run main.go
Unixtime with nanosec
01F3W1VRCNCJYK1EP1Q5EWMDM6
01F3W1VRCNP3828JF01EJAFD6V
01F3W1VRCNVN5ANE6HWRY2X11Z
01F3W1VRCNKB1YBSE8A15WSVC1
Unixtime with sec
01F3W1VR7RJ9STX7Q762H893XV
01F3W1VR7RJ9STX7Q762H893XV
01F3W1VR7RJ9STX7Q762H893XV
01F3W1VR7RJ9STX7Q762H893XV
genUlid
01F3W1VRCP59JBPYF3ADTFZCVB
01F3W1VRCP59JBPYF3AH0X1P0A
01F3W1VRCP59JBPYF3AMM4N395
01F3W1VRCP59JBPYF3AQ196EWJ
```