evalphobia/logrus_sentry

View on GitHub
utils.go

Summary

Maintainability
A
45 mins
Test Coverage

Function parseUUID has 7 return statements (exceeds 4 allowed).
Open

func parseUUID(s string) uuid {
    //If it is in no dash format "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    if len(s) == 32 {
        uuid := make([]byte, 16)
        for i, x := range []int{
Severity: Major
Found in utils.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status