Documentation ¶ Index ¶ Constants func Action(push bool) traversalAction Constants ¶ View Source const ( Leave traversalAction = "leave" Visit traversalAction = "visit" ) Variables ¶ This section is empty. Functions ¶ func Action ¶ func Action(push bool) traversalAction A _very_ simple helper to use switch cases in go ast traversal using the node "visit" and "leave" verbs. `push bool` is taken from the ast/inspector .Nodes tree traversal function. Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Directories ¶ Show internal Expand all Path Synopsis wrap_error Click to show internal directories. Click to hide internal directories.