Added arn to the main repository
This commit is contained in:
11
arn/HasText.go
Normal file
11
arn/HasText.go
Normal file
@ -0,0 +1,11 @@
|
||||
package arn
|
||||
|
||||
// HasText includes a text field.
|
||||
type hasText struct {
|
||||
Text string `json:"text" editable:"true" type:"textarea"`
|
||||
}
|
||||
|
||||
// GetText returns the text of the object.
|
||||
func (obj *hasText) GetText() string {
|
||||
return obj.Text
|
||||
}
|
Reference in New Issue
Block a user