sourcegraph/lib/codeintel/lsif/protocol/next.go
Eric Fritz 9158fdf0f4
codeintel: Move ./enterprise/lib to ./lib (#20969)
* Move enterprise/lib/codeintel/* to lib.
2021-05-13 19:17:14 -07:00

22 lines
290 B
Go

package protocol
type Next struct {
Edge
OutV uint64 `json:"outV"`
InV uint64 `json:"inV"`
}
func NewNext(id, outV, inV uint64) Next {
return Next{
Edge: Edge{
Element: Element{
ID: id,
Type: ElementEdge,
},
Label: EdgeNext,
},
OutV: outV,
InV: inV,
}
}