mirror of
https://github.com/coaidev/coai.git
synced 2025-05-20 21:40:15 +09:00
11 lines
199 B
Go
11 lines
199 B
Go
package globals
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
)
|
|
|
|
func GetSubscriptionLimitFormat(t string, id int64) string {
|
|
return fmt.Sprintf(":subscription-usage-%s:%s:%d", t, time.Now().Format("2006-01-02"), id)
|
|
}
|