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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?