Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```