IIC2173-2015-2-Grupo2/news-api

View on GitHub
tasks/seed.go

Summary

Maintainability
A
35 mins
Test Coverage

Function getOrCreateNode has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func getOrCreateNode(db *neoism.Database, label string, key string, value string, props neoism.Props) *neoism.Node {
Severity: Minor
Found in tasks/seed.go - About 35 mins to fix

    don't use underscores in Go names; var tag_id should be tagID
    Open

                tag_id, _ := strconv.Atoi(row[3])
    Severity: Minor
    Found in tasks/seed.go by golint

    Your code does not pass gofmt in 1 place. Go fmt your code!
    Open

    //usr/bin/env go run $0 "$@"; exit
    Severity: Minor
    Found in tasks/seed.go by gofmt

    package comment should be of the form "Package tasks ..."
    Open

    //usr/bin/env go run $0 "$@"; exit
    Severity: Minor
    Found in tasks/seed.go by golint

    There are no issues that match your filters.

    Category
    Status