Move namespace string into const

This commit is contained in:
Matt Baer
2018-08-04 14:23:14 +02:00
parent 57919aaaec
commit 26688eb59d
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func NewPerson(accountRoot string) *Person {
BaseObject: BaseObject{
Type: "Person",
Context: []interface{}{
"https://www.w3.org/ns/activitystreams",
Namespace,
},
ID: accountRoot,
},