emoji-clock

Get the emoji clock face for a given time.
Install
To install this library run the following command inside your terminal:
go get github.com/ziishaned/emoji-clock
Usage
package main
import (
"fmt"
"log"
"github.com/ziishaned/emoji-clock"
)
func main() {
emoji, err := emojiclock.TimeToEmoji("2014-03-09T22:47:02.705Z")
if err != nil {
log.Fatal(err)
}
fmt.Println(emoji) // ?
emoji2, err := emojiclock.TimeToEmoji("2018-10-09T21:40:02.705Z")
if err != nil {
log.Fatal(err)
}
fmt.Println(emoji2) // ?
}
Contributions
Feel free to submit pull requests, create issues or spread the word.
License
MIT © Zeeshan Ahmad