pkg/timeline/timeline.go
Function Create
has 9 return statements (exceeds 4 allowed). Open
Open
func Create(channel, timelineType string, pool *redis.Pool, db *sql.DB) Backend {
if timelineType == "sorted-set" {
timeline := &redisSortedSetTimeline{channel: channel, pool: pool}
err := timeline.Init()
if err != nil {
- Create a ticketCreate a ticket