diff options
author | Julio Capote <jcapote@gmail.com> | 2022-12-17 21:35:26 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2022-12-17 21:35:26 +0000 |
commit | 0e1e52b457a452e1cf4f852b88288cb324165f54 (patch) | |
tree | 2b7d1f006025f6160d4516b5b5da4a09f8e9ddfc /resources | |
parent | 5e51c63643fd4dcb17a23af08bb25cf47fad7650 (diff) | |
download | communique-0e1e52b457a452e1cf4f852b88288cb324165f54.tar.gz |
refactor webfinger package into resources
Diffstat (limited to '')
-rw-r--r-- | resources/webfinger.go (renamed from webfinger/webfinger.go) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webfinger/webfinger.go b/resources/webfinger.go index 8e43dd2..d936519 100644 --- a/webfinger/webfinger.go +++ b/resources/webfinger.go @@ -1,4 +1,4 @@ -package webfinger +package resources type Link struct { Rel string `json:"rel"` @@ -6,7 +6,7 @@ type Link struct { Href string `json:"href"` } -type Resource struct { +type WebfingerResource struct { Subject string `json:"subject"` Aliases []string `json:"aliases"` Links []Link `json:"links"` |