jelder/bownse

View on GitHub

Showing 22 of 22 total issues

exported type HerokuAppState should have comment or be unexported
Open

type HerokuAppState struct {
Severity: Minor
Found in heroku.go by golint

struct field Url should be URL
Open

    Url         string `schema:"url"`
Severity: Minor
Found in heroku.go by golint

exported function WebhookHandler should have comment or be unexported
Open

func WebhookHandler(w http.ResponseWriter, r *http.Request) {
Severity: Minor
Found in main.go by golint

exported function NewRelicRequest should have comment or be unexported
Open

func NewRelicRequest(state *HerokuAppState) *http.Request {
Severity: Minor
Found in newrelic.go by golint

struct field ImageUrl should be ImageURL
Open

    ImageUrl   string       `json:"image_url,omitempty"`
Severity: Minor
Found in slack.go by golint

exported method HerokuAppState.FetchEnv should have comment or be unexported
Open

func (state *HerokuAppState) FetchEnv() {
Severity: Minor
Found in heroku.go by golint

exported function HoneybadgerRequest should have comment or be unexported
Open

func HoneybadgerRequest(state *HerokuAppState) *http.Request {
Severity: Minor
Found in honeybadger.go by golint

should not use dot imports
Open

    . "github.com/jelder/goenvmap"
Severity: Minor
Found in config.go by golint

comment on exported function ParseWebhook should be of the form "ParseWebhook ..."
Open

// Given a request for Heroku DeployHook, return the current state of the app. This will include all fields from the request, all ENV vars for the app, and the commit hash of the previously deployed commit.
Severity: Minor
Found in heroku.go by golint

exported var RedisPool should have comment or be unexported
Open

    RedisPool *redis.Pool
Severity: Minor
Found in redis.go by golint

exported function SlackRequest should have comment or be unexported
Open

func SlackRequest(state *HerokuAppState) *http.Request {
Severity: Minor
Found in slack.go by golint

comment on exported method HerokuAppState.URL should be of the form "URL ..."
Open

// Return a GitHub compare URL if the repository is configured, otherwise just return the plain URL.
Severity: Minor
Found in heroku.go by golint

exported method HerokuAppState.SetPrevHead should have comment or be unexported
Open

func (state *HerokuAppState) SetPrevHead() {
Severity: Minor
Found in heroku.go by golint

comment on exported function MustGetHerokuAppEnv should be of the form "MustGetHerokuAppEnv ..."
Open

// https://devcenter.heroku.com/articles/platform-api-reference#config-vars
Severity: Minor
Found in heroku.go by golint

should not use dot imports
Open

    . "github.com/jelder/goenvmap"
Severity: Minor
Found in slack.go by golint

exported type HerokuAppEnv should have comment or be unexported
Open

type HerokuAppEnv map[string]string
Severity: Minor
Found in heroku.go by golint

exported function SlackIsConfigured should have comment or be unexported
Open

func SlackIsConfigured() bool {
Severity: Minor
Found in slack.go by golint

exported type Config should have comment or be unexported
Open

type Config struct {
Severity: Minor
Found in config.go by golint

exported method HerokuAppState.GuessEnvironment should have comment or be unexported
Open

func (state *HerokuAppState) GuessEnvironment() {
Severity: Minor
Found in heroku.go by golint

struct field IconUrl should be IconURL
Open

    IconUrl     string            `json:"icon_url,omitempty"`
Severity: Minor
Found in slack.go by golint
Severity
Category
Status
Source
Language