more golint cleanup

This commit is contained in:
Roland Osborne 2022-07-29 00:21:32 -07:00
parent 6b1fac16ac
commit 9f134f9644
11 changed files with 11 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//GetChannelTopicAssets retries list of assets associated with topic
func GetChannelTopicAssets(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//GetChannelTopicDetail retrieves topic subject and attributes
func GetChannelTopicDetail(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -13,6 +13,7 @@ import (
"time"
)
//GetChannelTopicSubjectField base64 decodes and downloads a channel topic subject attribute
func GetChannelTopicSubjectField(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -13,6 +13,7 @@ import (
"time"
)
//GetChannelTopicTagSubjectField base64 decodes and downloads a field from a tag
func GetChannelTopicTagSubjectField(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -17,6 +17,7 @@ func reverseTags(input []store.TagSlot) []store.TagSlot {
return output
}
//GetChannelTopicTags retreives tags associated with topic
func GetChannelTopicTags(w http.ResponseWriter, r *http.Request) {
var revisionSet bool
var revision int64

View File

@ -14,6 +14,7 @@ func reverseTopics(input []store.TopicSlot) []store.TopicSlot {
return output
}
//GetChannelTopics retrieves topics associated with channel
func GetChannelTopics(w http.ResponseWriter, r *http.Request) {
var revisionSet bool
var revision int64

View File

@ -10,6 +10,7 @@ import (
"strings"
)
//GetChannels retrieves channels under account or shared with contact
func GetChannels(w http.ResponseWriter, r *http.Request) {
var channelRevisionSet bool
var channelRevision int64

View File

@ -8,6 +8,7 @@ import (
"net/http"
)
//GetCloseMessage retrieves message to disconnect from contact
func GetCloseMessage(w http.ResponseWriter, r *http.Request) {
account, code, res := ParamAgentToken(r, true)

View File

@ -13,6 +13,7 @@ import (
"time"
)
//GetGroupSubjectField base64 decods and downloads field from group subject
func GetGroupSubjectField(w http.ResponseWriter, r *http.Request) {
// scan parameters

View File

@ -12,6 +12,7 @@ import (
"time"
)
//GetNodeAccountImage downloads profile image for the admin
func GetNodeAccountImage(w http.ResponseWriter, r *http.Request) {
// get referenced account id

View File

@ -5,6 +5,7 @@ import (
"net/http"
)
//GetNodeAccounts retrieves profiles of hosted accounts for the admin
func GetNodeAccounts(w http.ResponseWriter, r *http.Request) {
if code, err := ParamAdminToken(r); err != nil {