pgraph: Move the timestamp storage into the resource

This commit is contained in:
James Shubin
2017-05-15 12:27:36 -04:00
parent b1e035f96a
commit fbcb562781
3 changed files with 23 additions and 21 deletions

View File

@@ -48,8 +48,7 @@ type Graph struct {
// Vertex is the primary vertex struct in this library.
type Vertex struct {
resources.Res // anonymous field
timestamp int64 // last updated timestamp ?
resources.Res // anonymous field
}
// Edge is the primary edge struct in this library.