Documentation ¶ Index ¶ func NewClient(token, channel string, opts ...Option) (reporter.Reporter, error) type Client func (c *Client) Report(ctx context.Context, repos []*github.Repo) error type Option func WithLogger(l *zap.Logger) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(token, channel string, opts ...Option) (reporter.Reporter, error) Types ¶ type Client ¶ type Client struct { // contains filtered or unexported fields } func (*Client) Report ¶ func (c *Client) Report(ctx context.Context, repos []*github.Repo) error type Option ¶ added in v0.2.0 type Option func(*Client) func WithLogger ¶ added in v0.2.0 func WithLogger(l *zap.Logger) Option Source Files ¶ View all Source files slack.go Click to show internal directories. Click to hide internal directories.