pstuifzand/ekster

View on GitHub
pkg/timeline/timeline.go

Summary

Maintainability
A
55 mins
Test Coverage

Function Create has 9 return statements (exceeds 4 allowed).
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 {
Severity: Major
Found in pkg/timeline/timeline.go - About 55 mins to fix

There are no issues that match your filters.

Category
Status