refactor: add tag and relation methods to node to enforce integrity
This commit is contained in:
@@ -2,6 +2,11 @@ package models
|
||||
|
||||
type RelType string
|
||||
|
||||
type Rel struct {
|
||||
Type RelType
|
||||
Target string
|
||||
}
|
||||
|
||||
const (
|
||||
RelBlocks RelType = "blocks"
|
||||
RelSubtask RelType = "subtask"
|
||||
|
||||
Reference in New Issue
Block a user