glaciers-in-archives/snowman

View on GitHub
internal/cache/cache.go

Summary

Maintainability
A
35 mins
Test Coverage

Method CacheManager.SetCache has 5 return statements (exceeds 4 allowed).
Open

func (cm *CacheManager) SetCache(location string, query string, content string) error {
    if cm.CacheStrategy == "never" {
        return nil
    }

Severity: Major
Found in internal/cache/cache.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status