From 39aa3b3339172efca70ad22aa988d44052fe3841 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Thu, 25 Mar 2021 20:10:35 +0100 Subject: [PATCH] comments --- pkg/mastotypes/source.go | 3 +++ pkg/mastotypes/tag.go | 1 + 2 files changed, 4 insertions(+) diff --git a/pkg/mastotypes/source.go b/pkg/mastotypes/source.go index e4a2ca0..01a8776 100644 --- a/pkg/mastotypes/source.go +++ b/pkg/mastotypes/source.go @@ -18,5 +18,8 @@ package mastotypes +// Source represents display or publishing preferences of user's own account. +// Returned as an additional entity when verifying and updated credentials, as an attribute of Account. +// See https://docs.joinmastodon.org/entities/source/ type Source struct { } diff --git a/pkg/mastotypes/tag.go b/pkg/mastotypes/tag.go index d34314b..4431ac3 100644 --- a/pkg/mastotypes/tag.go +++ b/pkg/mastotypes/tag.go @@ -18,5 +18,6 @@ package mastotypes +// Tag represents a hashtag used within the content of a status. See https://docs.joinmastodon.org/entities/tag/ type Tag struct { }