Imports github.com/mattermost/mattermost-server/api github.com/NYTimes/gziphandler github.com/avct/uasurfer github.com/mattermost/mattermost-server/mlog github.com/mattermost/mattermost-server/model github.com/mattermost/mattermost-server/utils Standard library imports fmt net/http path/filepath strings