emoji-clock

获取指定时间的表情钟面。「Get the emoji clock face for a given time.」

Github stars Tracking Chart

emoji-clock Build Status Go Report Codecov Software License

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

Main metrics

Overview
Name With Ownerziishaned/emoji-clock
Primary LanguageGo
Program languageMakefile (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2018-10-08 09:44:51
Pushed At2018-10-25 07:14:22
Last Commit At2018-10-25 11:14:21
Release Count0
用户参与
Stargazers Count29
Watchers Count2
Fork Count1
Commits Count38
Has Issues Enabled
Issues Count2
Issue Open Count1
Pull Requests Count2
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private