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