tasks/seed.go
Function getOrCreateNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func getOrCreateNode(db *neoism.Database, label string, key string, value string, props neoism.Props) *neoism.Node {
don't use underscores in Go names; var tag_id should be tagID Open
Open
tag_id, _ := strconv.Atoi(row[3])
- Exclude checks
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
//usr/bin/env go run $0 "$@"; exit
- Exclude checks
package comment should be of the form "Package tasks ..." Open
Open
//usr/bin/env go run $0 "$@"; exit
- Exclude checks