master
Config.Validate
func (c *Config) Validate() error { if c.SlackBotToken == "" { return errors.New("slack_bot_token is required") } if !strings.HasPrefix(c.SlackBotToken, "xoxb-") {