From 49bed8e0e4317175fad3f10a32579089013cbbf2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 25 Jan 2020 11:55:05 +0000 Subject: [PATCH] update comments and remove go.mod --- client.go | 5 +++-- go.mod | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 go.mod diff --git a/client.go b/client.go index acd33df..7625a1c 100644 --- a/client.go +++ b/client.go @@ -372,7 +372,7 @@ func (cli *Client) Versions() (resp *RespVersions, err error) { return } -// PublicRooms returns the list of public rooms on target server. Does not require Auth. See http://matrix.org/speculator/spec/HEAD/client_server/unstable.html#get-matrix-client-unstable-publicrooms +// PublicRooms returns the list of public rooms on target server. See https://matrix.org/docs/spec/client_server/r0.6.0#get-matrix-client-unstable-publicrooms func (cli *Client) PublicRooms(limit int, since string, server string) (resp *RespPublicRooms, err error) { args := map[string]string{} @@ -391,7 +391,8 @@ func (cli *Client) PublicRooms(limit int, since string, server string) (resp *Re return } -// PublicRoomsFiltered returns a subset of PublicRooms filtered server side. See http://matrix.org/speculator/spec/HEAD/client_server/unstable.html#post-matrix-client-unstable-publicrooms +// PublicRoomsFiltered returns a subset of PublicRooms filtered server side. +// See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-unstable-publicrooms func (cli *Client) PublicRoomsFiltered(limit int, since string, server string, filter string) (resp *RespPublicRooms, err error) { content := map[string]string{} diff --git a/go.mod b/go.mod deleted file mode 100644 index 18e69bf..0000000 --- a/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/matrix-org/gomatrix - -go 1.12