1
0
Fork 0
mirror of https://github.com/matrix-org/gomatrix synced 2025-12-19 04:38:03 +00:00

Add example usage

This commit is contained in:
Kegan Dougal 2016-11-30 17:41:14 +00:00
parent ca6f598808
commit 519d03ed04
2 changed files with 15 additions and 4 deletions

View file

@ -1,8 +1,6 @@
package gomatrix
import (
"fmt"
)
import "fmt"
func ExampleClient_BuildURLWithQuery() {
cli, _ := NewClient("https://matrix.org", "@example:matrix.org", "abcdef123456")