Showing 112 of 112 total issues
struct field IdByToolInt should be IDByToolInt Open
Open
IdByToolInt int
- Exclude checks
don't use underscores in Go names; struct field Project_id should be ProjectID Open
Open
Project_id int
- Exclude checks
don't use ALL_CAPS in Go names; use CamelCase Open
Open
HISTORY_TYPE_TC = 1 + iota
- Exclude checks
struct field ProjectId should be ProjectID Open
Open
ProjectId int //Project id which belongs to this issue
- Exclude checks
exported type JSTreeNode should have comment or be unexported Open
Open
type JSTreeNode struct {
- Exclude checks
exported method ConnectionTest returns unexported type *buildtools.travisRepo, which can be annoying to use Open
Open
func (t Travis) ConnectionTest(url string) (*travisRepo, string, error) {
- Exclude checks
don't use underscores in Go names; type user_project should be userProject Open
Open
type user_project struct {
- Exclude checks
struct field ChangesJson should be ChangesJSON Open
Open
ChangesJson string `sql:"size:1000"`
- Exclude checks
exported const ProjectFlashKey should have comment (or a comment on this block) or be unexported Open
Open
ProjectFlashKey = "LADYBUG_PROJECT"
- Exclude checks
exported function HandleError should have comment or be unexported Open
Open
func HandleError(w http.ResponseWriter, r *http.Request, err error) {
- Exclude checks
exported const CookieKey should have comment (or a comment on this block) or be unexported Open
Open
CookieKey = "ladybug"
- Exclude checks
exported method BuildItem.Validate should have comment or be unexported Open
Open
func (builditem *BuildItem) Validate() map[string]string {
- Exclude checks
exported const ReviewStatusReady should have comment (or a comment on this block) or be unexported Open
Open
ReviewStatusReady = 1 + iota
- Exclude checks
struct field BuildUrl should be BuildURL Open
Open
BuildUrl string // build url
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) Open
Open
} else {
- Exclude checks
struct field Id should be ID Open
Open
Id string `json:"id"`
- Exclude checks
2: cannot find package "github.com/gorilla/sessions" in any of: Open
Open
"github.com/gorilla/sessions"
- Exclude checks
error strings should not be capitalized or end with punctuation or a newline Open
Open
return errors.New("Wrong database handler!")
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) Open
Open
} else {
- Exclude checks
type HttpError should be HTTPError Open
Open
type HttpError struct {
- Exclude checks