Moved nil LanguageRef constant to natural language file

This commit is contained in:
Marius Orcsik 2019-12-05 16:43:04 +01:00
parent df62354866
commit 57ad0db747
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A
2 changed files with 4 additions and 4 deletions

View file

@ -9,6 +9,10 @@ import (
"strings"
)
const (
NilLangRef LangRef = "-"
)
type (
// LangRef is the type for a language reference code, should be an ISO639-1 language specifier.
LangRef string

View file

@ -52,10 +52,6 @@ const (
MentionType ActivityVocabularyType = "Mention"
)
const (
NilLangRef LangRef = "-"
)
var GenericObjectTypes = ActivityVocabularyTypes{
ActivityType,
IntransitiveActivityType,