ahuigo / gofnext

🛠️ Golang extended function like @cache decorator.
https://pkg.go.dev/github.com/ahuigo/gofnext
MIT License
8 stars 0 forks source link

Improve Go-Report Score: Grade C 63.8% #1

Closed ValentinMontmirail closed 11 months ago

ValentinMontmirail commented 12 months ago
PS C:\Dev\gofnext> goreportcard-cli.exe -v
Grade ............ C 63.8%
Files ................. 25
Issues ................ 25
gofmt ................. 0%
        examples\decorator-redis_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-map-lru.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-map-lru_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        decorator-hash-ptr_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-err_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-key-ptr_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-key_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        serial\load.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-key-custom_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\serial_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        object\obj.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        helper.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-lru_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\utils_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-map-mem.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-types.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        serial\load_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-map-mem_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        cache-map-redis.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        decorator.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-fib_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\decorator-redis-err_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        examples\object_test.go
                Line 1: warning: file is not gofmted with -s (gofmt)
        serial\dump.go
                Line 1: warning: file is not gofmted with -s (gofmt)
go_vet .............. 100%
gocyclo .............. 92%
        serial\dump.go
                Line 38: warning: cyclomatic complexity 24 of function dump() is high (> 15) (gocyclo)
        object\obj.go
                Line 29: warning: cyclomatic complexity 18 of function convertObjectByte2String() is high (> 15) (gocyclo)
ineffassign ......... 100%
license ............. 100%
misspell ............ 100%
ValentinMontmirail commented 11 months ago

Fixed by the PR #2