summaryrefslogtreecommitdiffstats
path: root/bridge/slack/helpers.go
Commit message (Collapse)AuthorAgeFilesLines
* Clean up various stuff (#508)David Hill2018-11-071-24/+23
| | | * various cleanups
* Prevent Slack API rate-limit overflow (#539)Duco van Amstel2018-11-011-0/+35
|
* Fix bridge no longer POSTing username and avatar (slack) (#536)Patrick Connolly2018-10-241-2/+4
| | | | | | | | | | | | * Fixed pointer/reference issue in populateUsers. [#536] * Accepted codestyle suggestion. * Update bridge/slack/helpers.go Co-Authored-By: patcon <patrick.c.connolly@gmail.com> * Update helpers.go
* Clean up user and channel information management (slack) (#521)Duco van Amstel2018-10-161-13/+58
|
* Clean up code and strengthening (slack) (#519)Duco van Amstel2018-10-131-38/+35
| | | | | | | | | | | | | Changes include: - Refactor of strings into package-wide constants. - Predeclaration of regexps to be instantiated at package load time. - Checking of unchecked errors. - Structural changes: - Adding verifications to type-casting code. - Remove unnecessary 'len(X) > 0' checks before iterating over X. - Remove unnecessary 'else' clause after 'if' with 'return'. - Unexporting of public fields of Bridge struct. - Formatting: - One-field-per-line struct definitions.
* Refactor slack bridge prelude (#517)Duco van Amstel2018-10-121-0/+116
Distributing the source of the Slack bridge across multiple files to increase readability and as a prelude to various refactors and clean-ups.