From 4974fed93195d21a353f8e12d196b94b4cf2643c Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Tue, 24 Sep 2024 09:00:59 -0400 Subject: [PATCH] docs(delegation): add Go doc for Tag --- delegation/schema.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/delegation/schema.go b/delegation/schema.go index 33b8f46..c442caf 100644 --- a/delegation/schema.go +++ b/delegation/schema.go @@ -14,8 +14,14 @@ import ( "github.com/ucan-wg/go-ucan/pkg/meta" ) +// [Tag] is the string used as a key within the SigPayload that identifies +// that the TokenPayload is a delegation. +// +// [Tag]: https://github.com/ucan-wg/delegation/tree/v1_ipld#type-tag const Tag = "ucan/dlg@1.0.0-rc.1" +// TODO: update the above Tag URL once the delegation specification is merged. + //go:embed delegation.ipldsch var schemaBytes []byte