refactor: add tag and relation methods to node to enforce integrity
This commit is contained in:
@@ -18,6 +18,7 @@ var editCmd = &cobra.Command{
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
return
|
||||
}
|
||||
|
||||
n, err := svc.GetByID(args[0])
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, "node not found:", args[0])
|
||||
|
||||
Reference in New Issue
Block a user