Imports github.com/google/go-querystring/query github.com/mattermost/mattermost-server/v6/model github.com/pkg/errors golang.org/x/oauth2 Standard library imports bytes context encoding/json errors fmt io io/ioutil net/http net/url reflect strconv time