Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

chore: upgrade package and go version #25

chore: upgrade package and go version

chore: upgrade package and go version #25

Triggered via push June 11, 2024 08:48
Status Failure
Total duration 51s
Artifacts

lint.yml

on: push
GolangCi-Lint
39s
GolangCi-Lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
GolangCi-Lint: cache_test.go#L51
httpNoBody: http.NoBody should be preferred to the nil request body (gocritic)
GolangCi-Lint: cache.go#L14
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache.go#L17
import 'github.com/things-go/gin-cache/persist' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L14
import 'github.com/gin-gonic/gin' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L15
import 'github.com/go-redis/redis/v8' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L16
import 'github.com/patrickmn/go-cache' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L17
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L18
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L21
import 'github.com/things-go/gin-cache/persist' is not allowed from list 'Main' (depguard)
GolangCi-Lint: cache_test.go#L22
import 'github.com/things-go/gin-cache/persist/memory' is not allowed from list 'Main' (depguard)