Skip to content
Snippets Groups Projects
Commit 13dc587c authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix comments

parent e28a1e33
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
......@@ -576,7 +576,7 @@ func GetSavedChannelPrivateKeyUNSAFE(_ js.Value, args []js.Value) interface{} {
//
// Parameters:
// - args[0] - The channel's share URL (string). Should be received from
// another user or generated via [GetShareURL].
// another user or generated via [ChannelsManager.GetShareURL].
//
// Returns:
// - The channel pretty print (string).
......@@ -596,7 +596,7 @@ func DecodePublicURL(_ js.Value, args []js.Value) interface{} {
//
// Parameters:
// - args[0] - The channel's share URL (string). Should be received from
// another user or generated via [GetShareURL].
// another user or generated via [ChannelsManager.GetShareURL].
// - args[1] - The password needed to decrypt the secret data in the URL
// (string).
//
......@@ -772,7 +772,7 @@ type ShareURL struct {
// uses is set as a URL parameter using the key [broadcast.MaxUsesKey]. Note
// that this number is also encoded in the secret data for private and secret
// URLs, so if the number is changed in the URL, is will be verified when
// calling [ChannelsManager.JoinChannelFromURL]. There is no enforcement for
// calling [DecodePublicURL] or [DecodePrivateURL]. There is no enforcement for
// public URLs.
//
// Parameters:
......
......@@ -22,6 +22,7 @@ import (
"gitlab.com/elixxir/client/groupChat/groupStore"
"gitlab.com/elixxir/client/restlike"
"gitlab.com/elixxir/client/single"
"gitlab.com/elixxir/crypto/broadcast"
"gitlab.com/elixxir/crypto/channel"
"gitlab.com/elixxir/crypto/contact"
"gitlab.com/elixxir/crypto/cyclic"
......@@ -32,6 +33,7 @@ import (
"gitlab.com/xx_network/primitives/id"
"gitlab.com/xx_network/primitives/id/ephemeral"
"gitlab.com/xx_network/primitives/ndf"
"gitlab.com/xx_network/primitives/netTime"
)
// These objects are imported so that doc linking on pkg.go.dev does not require
......@@ -62,4 +64,7 @@ var (
_ = format.Message{}
_ = restlike.Message{}
_ = auth.Callbacks(nil)
_ = broadcast.PrivacyLevel(0)
_ = broadcast.Channel{}
_ = netTime.Now
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment