diff options
author | Mukul Rawat <mukulsrawat@gmail.com> | 2018-10-16 00:31:35 +0530 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2018-10-15 20:01:35 +0100 |
commit | a06e453ea176d27324540d1b6a7be91b7e728fb3 (patch) | |
tree | 90c6abe54c96967fb993fa0ffb3abd76a96d905a /model/authorize.go | |
parent | 457a34c5f4cba44299eb289694cb0174e4eba7be (diff) | |
download | chat-a06e453ea176d27324540d1b6a7be91b7e728fb3.tar.gz chat-a06e453ea176d27324540d1b6a7be91b7e728fb3.tar.bz2 chat-a06e453ea176d27324540d1b6a7be91b7e728fb3.zip |
[MM-12536] Migrate to idiomatic error handling the file `app/user_agent.go` in the mattermost-server (#9575) (#9576)
* Make changes to function getPlatformName.
* Make changes to the function getOSName, use switch statement inside instead of nested if
* create helper function and make getBrowserVersion() more idiomatic
* update getUAVersion
* update getBrowserName
* changes required in review done
Diffstat (limited to 'model/authorize.go')
0 files changed, 0 insertions, 0 deletions