Merge attribute handling from request and response to commen code.
This commit was merged in pull request #7.
This commit is contained in:
@@ -14,9 +14,14 @@ func NewtextWithoutLanguage(name, value string) *textWithoutLanguage {
|
||||
return c
|
||||
}
|
||||
|
||||
func (c textWithoutLanguage) Name() string {
|
||||
return c.name
|
||||
}
|
||||
|
||||
func (c textWithoutLanguage) String() string {
|
||||
return c.name + ":" + c.value
|
||||
}
|
||||
|
||||
func (c *textWithoutLanguage) valueTag() tag {
|
||||
return textWithoutLanguageValueTag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user