Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Fix invalid memory address or nil pointer dereference goroutine when calling logger #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/delegatebot/cmd/api_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ func (c *APICmd) slackService() zlhttp.Service {
EventProcessor: processor,
SlashProcessor: slashProcessor,
SigningSecret: c.SlackSigningSecret,
Logger: c.GetLogger(),
}
}
47 changes: 35 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,30 +1,53 @@
module github.com/dpb587/slack-delegate-bot

go 1.13
go 1.19

require (
github.com/PagerDuty/go-pagerduty v0.0.0-20191110014646-e96b2a192c5d
github.com/dpb587/go-pairist v0.0.0-20191031224042-79df4efb281e
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-playground/validator v9.31.0+incompatible
github.com/google/uuid v1.1.1
github.com/gorilla/sessions v1.2.0
github.com/gorilla/websocket v1.4.2 // indirect
github.com/jessevdk/go-flags v1.4.0
github.com/jinzhu/gorm v1.9.12
github.com/labstack/echo v3.3.10+incompatible
github.com/labstack/echo-contrib v0.9.0
github.com/labstack/echo/v4 v4.1.16
github.com/leodido/go-urn v1.2.0 // indirect
github.com/lusis/slack-test v0.0.0-20190426140909-c40012f20018 // indirect
github.com/nlopes/slack v0.5.0
github.com/onsi/ginkgo v1.10.2
github.com/onsi/gomega v1.7.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.4.2
github.com/slack-go/slack v0.6.4
go.uber.org/zap v1.15.0
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/yaml.v2 v2.2.7
)

require (
cloud.google.com/go v0.38.0 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/golang/protobuf v1.3.2 // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
github.com/hpcloud/tail v1.0.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/labstack/gommon v0.3.0 // indirect
github.com/mattn/go-colorable v0.1.6 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mattn/go-sqlite3 v2.0.1+incompatible // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.1.0 // indirect
go.opencensus.io v0.21.0 // indirect
go.uber.org/atomic v1.6.0 // indirect
go.uber.org/multierr v1.5.0 // indirect
golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d // indirect
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b // indirect
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae // indirect
golang.org/x/text v0.3.2 // indirect
google.golang.org/api v0.13.0 // indirect
google.golang.org/appengine v1.5.0 // indirect
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect
google.golang.org/grpc v1.20.1 // indirect
gopkg.in/fsnotify.v1 v1.4.7 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
)
Loading