From ac88356c215309c10b7eeecd2b2c9ef3b5e970ec Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sat, 17 Dec 2022 16:44:01 -0500 Subject: profile endpoint wip --- resources/profile.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 resources/profile.go (limited to 'resources') diff --git a/resources/profile.go b/resources/profile.go new file mode 100644 index 0000000..207f4de --- /dev/null +++ b/resources/profile.go @@ -0,0 +1,12 @@ +package resources + +type Profile struct { + Context []string `json:"@context"` +} + +func RenderProfile() *Profile { + p := Profile{ + Context: []string{"https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1"}, + } + return &p +} -- cgit v1.2.3