Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpkn/hms
Go module for converting time into timestamp
https://github.com/tpkn/hms
Last synced: about 2 months ago
JSON representation
Go module for converting time into timestamp
- Host: GitHub
- URL: https://github.com/tpkn/hms
- Owner: tpkn
- License: mit
- Created: 2021-03-30T21:24:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-17T23:54:40.000Z (over 3 years ago)
- Last Synced: 2024-06-20T05:01:34.794Z (7 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HH:MM:SS.MS
Go module for converting time into timestamp```go
hms.Seconds(0) // => 00:00:00.000
hms.Seconds(0.32) // => 00:00:00.320
hms.Seconds(1) // => 00:00:01.000
hms.Seconds(123.43) // => 00:02:03.430
hms.Seconds(999) // => 00:16:39.000
```