emoji-clock

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

Github星跟踪图

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

主要指标

概览
名称与所有者ziishaned/emoji-clock
主编程语言Go
编程语言Makefile (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2018-10-08 09:44:51
推送于2018-10-25 07:14:22
最后一次提交2018-10-25 11:14:21
发布数0
用户参与
星数28
关注者数2
派生数1
提交数38
已启用问题?
问题数2
打开的问题数1
拉请求数2
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?