5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-26 04:05:40 +00:00
matterbridge/bridge/slack
Duco van Amstel 498377a230 Clean up code and strengthening (slack) (#519)
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.
2018-10-13 01:02:14 +02:00
..
handlers.go Clean up code and strengthening (slack) (#519) 2018-10-13 01:02:14 +02:00
helpers.go Clean up code and strengthening (slack) (#519) 2018-10-13 01:02:14 +02:00
slack.go Clean up code and strengthening (slack) (#519) 2018-10-13 01:02:14 +02:00