inklabs/rangedb

View on GitHub
cmd/gen-random-events/main.go

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function main has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func main() {
fmt.Println("Random Event Generator")
 
eventType := flag.String("eventType", "ThingWasDone", "event type: ThingWasDone, ThatWasDone, AnotherWasComplete, etc.")
maxEventsPerStream := flag.Int("maxPerStream", 10, "max events per stream")
Severity: Minor
Found in cmd/gen-random-events/main.go - About 1 hr to fix
    Category
    Status