From 56e928e515e0261dd23eafb2b04551116d069394 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 21 May 2026 13:27:42 -0400 Subject: [PATCH] make public export --- subgraph.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subgraph.go b/subgraph.go index 5174867..7640535 100644 --- a/subgraph.go +++ b/subgraph.go @@ -164,7 +164,7 @@ func ExpandTaggedEvents(e roots.Event, s *EventSubgraph) { continue } - tagNode := findTagNode(tagNodes, name, value) + tagNode := FindTagNode(tagNodes, name, value) if tagNode == nil { continue } @@ -189,7 +189,7 @@ func ExpandTaggedUsers(e roots.Event, s *EventSubgraph) { continue } - tagNode := findTagNode(tagNodes, name, value) + tagNode := FindTagNode(tagNodes, name, value) if tagNode == nil { continue } @@ -201,7 +201,7 @@ func ExpandTaggedUsers(e roots.Event, s *EventSubgraph) { } } -func findTagNode(nodes []*Node, name, value string) *Node { +func FindTagNode(nodes []*Node, name, value string) *Node { for _, node := range nodes { if node.Props["name"] == name && node.Props["value"] == value { return node