Skip to main content

Module analysis

Module analysis 

Source

Functions§

analyze_goroutine_usage
Enhanced function to detect different types of goroutine patterns
build_graph_data
Собирает граф сущностей Go-файла (переменные, функции, каналы, горутины и связи)
count_entities
determine_race_severity
find_node_at_cursor_with_context
Enhanced position-based node finding with better context awareness
find_variable_at_position
find_variable_at_position_enhanced
Enhanced variable finding that uses improved cursor detection
has_synchronization_in_block
is_in_goroutine
is_variable_captured
Check if a variable is captured in a closure or goroutine
is_variable_reassignment
Check if a variable usage is a reassignment (x = value or x := value after initial declaration)