binhonglee/GlobeTrotte

View on GitHub
src/turbine/database/citiesdb.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function parseFile has 76 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func parseFile(file io.Reader) {
    reader := bufio.NewReader(file)

    firstLine, err := reader.ReadString('\n')
    logger.PanicErr(logger.Database, err, "")
Severity: Major
Found in src/turbine/database/citiesdb.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status