Convert Type fields to use graph.Type
Add text encoding methods to replace string storage.
This commit is contained in:
parent
62013d3dfc
commit
e2eea6c283
18 changed files with 84 additions and 20 deletions
|
|
@ -161,7 +161,7 @@ func (it *AllIterator) Describe() graph.Description {
|
|||
size, _ := it.Size()
|
||||
return graph.Description{
|
||||
UID: it.UID(),
|
||||
Type: it.Type().String(),
|
||||
Type: it.Type(),
|
||||
Tags: it.tags.Tags(),
|
||||
Size: size,
|
||||
Direction: it.dir,
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ func (it *Iterator) Describe() graph.Description {
|
|||
return graph.Description{
|
||||
UID: it.UID(),
|
||||
Name: it.qs.NameOf(Token(it.checkID)),
|
||||
Type: it.Type().String(),
|
||||
Type: it.Type(),
|
||||
Tags: it.tags.Tags(),
|
||||
Size: size,
|
||||
Direction: it.dir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue