2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 07:12:17 +08:00

[ci skip] Add badges to readme

This commit is contained in:
Ken Hibino 2020-01-16 21:13:34 -08:00
parent f66a65d6ca
commit fd8eb51440
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Asynq # Asynq
[![Build Status](https://travis-ci.com/hibiken/asynq.svg?token=paqzfpSkF4p23s5Ux39b&branch=master)](https://travis-ci.com/hibiken/asynq) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Build Status](https://travis-ci.com/hibiken/asynq.svg?token=paqzfpSkF4p23s5Ux39b&branch=master)](https://travis-ci.com/hibiken/asynq) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Go Report Card](https://goreportcard.com/badge/github.com/hibiken/asynq)](https://goreportcard.com/report/github.com/hibiken/asynq) [![GoDoc](https://godoc.org/github.com/hibiken/asynq?status.svg)](https://godoc.org/github.com/hibiken/asynq)
Simple and efficent asynchronous task processing library in Go. Simple and efficent asynchronous task processing library in Go.

View File

@ -33,7 +33,7 @@ func QueueKey(qname string) string {
return QueuePrefix + strings.ToLower(qname) return QueuePrefix + strings.ToLower(qname)
} }
// ProcessedKey returns a redis key string for procesed count // ProcessedKey returns a redis key string for processed count
// for the given day. // for the given day.
func ProcessedKey(t time.Time) string { func ProcessedKey(t time.Time) string {
return processedPrefix + t.UTC().Format("2006-01-02") return processedPrefix + t.UTC().Format("2006-01-02")