Move namespace string into const
This commit is contained in:
@@ -20,7 +20,7 @@ func NewPerson(accountRoot string) *Person {
|
||||
BaseObject: BaseObject{
|
||||
Type: "Person",
|
||||
Context: []interface{}{
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
Namespace,
|
||||
},
|
||||
ID: accountRoot,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user