diff options
author | Rafael George <george.rafael@gmail.com> | 2018-10-17 09:25:21 -0400 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2018-10-17 14:25:21 +0100 |
commit | 7d66ef0805895c4a56c0415c90de9d146ed25839 (patch) | |
tree | 953894c517f9522adbd5dcd2e956468d33014bad /plugin/example_hello_world_test.go | |
parent | 7562f940bb7b0de80bcfb8f5c3fc1b751a1a6b16 (diff) | |
download | chat-7d66ef0805895c4a56c0415c90de9d146ed25839.tar.gz chat-7d66ef0805895c4a56c0415c90de9d146ed25839.tar.bz2 chat-7d66ef0805895c4a56c0415c90de9d146ed25839.zip |
[MM-12608] Migrate to idiomatic error handling in the file `app/scheme.go` in the mattermost-server repo (#9592)
* Add idiomatic error handling
* Remove unused else statement and fix compilation errors
* Add an inline error initialization
The error its just been use once for the return no need to have it in
separate lines.
* Remove uneeded code
- Remove extra line
- Remove initializing in two lines when not needed
Diffstat (limited to 'plugin/example_hello_world_test.go')
0 files changed, 0 insertions, 0 deletions