wisedog/ladybug

View on GitHub
models/build.go

Summary

Maintainability
A
0 mins
Test Coverage

struct field ItemUrl should be ItemURL
Open

    ItemUrl         string
Severity: Minor
Found in models/build.go by golint

struct field IdByToolInt should be IDByToolInt
Open

    IdByToolInt    int
Severity: Minor
Found in models/build.go by golint

don't use underscores in Go names; struct field Project_id should be ProjectID
Open

    Project_id  int
Severity: Minor
Found in models/build.go by golint

exported method BuildItem.Validate should have comment or be unexported
Open

func (builditem *BuildItem) Validate() map[string]string {
Severity: Minor
Found in models/build.go by golint

struct field BuildUrl should be BuildURL
Open

    BuildUrl    string // build url
Severity: Minor
Found in models/build.go by golint

struct field ArtifactsUrl should be ArtifactsURL
Open

    ArtifactsUrl    string
Severity: Minor
Found in models/build.go by golint

exported method Build.Validate should have comment or be unexported
Open

func (build *Build) Validate() map[string]string {
Severity: Minor
Found in models/build.go by golint

struct field IdByTool should be IDByTool
Open

    IdByTool       string // for example, jenkins builds id is string
Severity: Minor
Found in models/build.go by golint

There are no issues that match your filters.

Category
Status