Registry / messaging / mattermost-mattermost-server-v5

mattermost-mattermost-server-v5

JSON →
library5.39.3gogounverified

Mattermost is an open-source Slack-alternative messaging platform for team communication.

go get github.com/mattermost/mattermost-server/v5
INSTALL
IMPORT
SIG · MATTERMOST-MATTERM
M
mattermost-mattermost-server-v5
messaginggov5.39.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mattermostserver
github.com/mattermost/mattermost-server/v5

Create a Mattermost API client and fetch the current user.

package main import ( "fmt" "github.com/mattermost/mattermost-server/v5/model" ) func main() { client := model.NewAPIv4Client("https://your-server.com") user, _, err := client.GetMe("") if err != nil { fmt.Println(err) return } fmt.Printf("Logged in as %s\n", user.Username) }
Debug
Known issues
breakingThe v5 module is deprecated; use the newer major version (v6+) for ongoing support.
fix
Upgrade to github.com/mattermost/mattermost-server/v6 or later.
affects: >=5.0.0 <6.0.0
Upgrade
Version history
5.39.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
mattermost-mattermost-server-v5 — go get mattermost-mattermost-server-v5 · libregistry