Added the public namespace as a constant

This commit is contained in:
Marius Orcsik 2019-08-22 21:16:40 +02:00
parent fcbb6ea114
commit 1ef5c83a05

2
iri.go
View file

@ -5,6 +5,8 @@ import (
"strings" "strings"
) )
const PublicNS = IRI("https://www.w3.org/ns/activitystreams#Public")
type ( type (
// IRI is a Internationalized Resource Identifiers (IRIs) RFC3987 // IRI is a Internationalized Resource Identifiers (IRIs) RFC3987
IRI string IRI string