Use typed IDs instead of plain strings
This commit is contained in:
@ -19,10 +19,10 @@ type Postable interface {
|
||||
|
||||
// Use Get prefix for these to avoid a
|
||||
// name clash with the internal fields.
|
||||
GetID() string
|
||||
GetID() ID
|
||||
GetText() string
|
||||
GetCreated() string
|
||||
GetParentID() string
|
||||
GetParentID() ID
|
||||
GetParentType() string
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user