feat(source): implement source repository for new event #547
Annotations
10 errors
Lint:
cmd/source/main.go#L110
unnamedResult: consider giving a name to these results (gocritic)
|
Lint:
cmd/source/main.go#L133
importShadow: shadow of imported from 'github.com/ormushq/ormus/source/repository/scylladb' package 'scylladb' (gocritic)
|
Lint:
source/delivery/httpserver/eventhandler/handler.go#L13
captLocal: `EventSvc' should not be capitalized (gocritic)
|
Lint:
source/delivery/middlewares/writekey.go#L33
S1002: should omit comparison to bool constant, can be simplified to `!isValid` (gosimple)
|
Lint:
source/repository/redis/rediswritekey/writekey.go#L33
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Lint:
source/repository/scylladb/event/create.go#L21
captLocal: `R' should not be capitalized (gocritic)
|
Lint:
source/repository/scylladb/event/create.go#L21
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
source/repository/scylladb/event/create.go#L21
importShadow: shadow of imported from 'github.com/ormushq/ormus/event' package 'event' (gocritic)
|
Lint:
source/repository/scylladb/event/create.go#L44
return with no blank line before (nlreturn)
|
Lint:
source/service/event/service.go#L23
captLocal: `NewEvent' should not be capitalized (gocritic)
|
Loading