hack/tester/main.go
Showing 2 of 2 total issues
Method App.Run
has a Cognitive Complexity of 32 (exceeds 20 allowed). Consider refactoring. Open
Open
func (a *App) Run(ctx context.Context) error { col := a.mcli.Collection("tweets") for { select { case <-ctx.Done():
- Read upRead up
Method App.Run
has 56 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (a *App) Run(ctx context.Context) error { col := a.mcli.Collection("tweets") for { select { case <-ctx.Done():