520MianXiangDuiXiang520/JuneGoBlog

View on GitHub
src/dao/tag.go

Summary

Maintainability
A
40 mins
Test Coverage

Function queryTagByIDFromCache has 6 return statements (exceeds 4 allowed).
Open

func queryTagByIDFromCache(id int) (*Tag, error) {
    rc := juneDao.GetRedisConn()
    defer rc.Close()
    tagInfoCacheFields := []string{
        "ID", "Name", "CreateTime",
Severity: Major
Found in src/dao/tag.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status