Files
mattermost/api4
Agniva De Sarker 7454680be5 Cleanup model/utils.go (#17945)
* Cleanup model/utils.go

- Removed some functions which were unsued. (The unused linter was somehow failing to catch this).
- Moved some functions inside other packages.
- Removed two duplicate instances of the same function - RemoveDuplicateStrings and UniqueStrings.
- Moved some regexes to global vars to prevent compilation every time.

```release-note
NONE
```

* fix lint

```release-note
NONE
```

* bring back unused exception

```release-note
NONE
```

* fix tests

```release-note
NONE
```

* Address review comments

```release-note
NONE
```
2021-07-21 16:38:39 +02:00
..
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-01-07 22:42:43 +05:30
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-01-07 22:42:43 +05:30
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00
2021-07-21 16:38:39 +02:00