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.
gomatrix
✓ github.com/matrix-org/gomatrix
Create a Matrix client and join a room.
import "github.com/matrix-org/gomatrix"
func main() {
client, err := gomatrix.NewClient("https://matrix.org", "@user:matrix.org", "token")
if err != nil {
panic(err)
}
resp, err := client.JoinRoom("!room:matrix.org")
if err != nil {
panic(err)
}
println(resp.RoomID)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20220926102614-ceba4d9f7530latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.