Changes
2 changed files (+9/-7)
-
-
@@ -1,10 +1,15 @@package activitypub // Item struct type Item ObjectOrLink type Item = ObjectOrLink const EmptyID = ID("") const EmptyIRI = IRI("") const ( EmptyIRI IRI = "" NilIRI IRI = "-" EmptyID = EmptyIRI NilID = NilIRI ) // Flatten checks if Item can be flatten to an IRI or array of IRIs and returns it if so func Flatten(it Item) Item {
-
@@ -18,4 +23,3 @@ func Flatten(it Item) Item {} return it }
-
-
-
@@ -8,9 +8,7 @@ import ("strings" ) const ( NilLangRef LangRef = "-" ) const NilLangRef LangRef = "-" type ( // LangRef is the type for a language reference code, should be an ISO639-1 language specifier.
-