Skip to content

Detect enclosing function for Go#881

Draft
xaldama wants to merge 1 commit into
xabier.aldama/detect_method_javafrom
xabier.aldama/detect_method_go
Draft

Detect enclosing function for Go#881
xaldama wants to merge 1 commit into
xabier.aldama/detect_method_javafrom
xabier.aldama/detect_method_go

Conversation

@xaldama

@xaldama xaldama commented Apr 20, 2026

Copy link
Copy Markdown

Summary

  • Implements enclosing function detection for Go (FQN format: package.FunctionName / package.TypeName.MethodName)
  • Pointer receivers (*Server) are unwrapped to their base type (Server), consistent with godoc

Test plan

  • Unit tests in go/methods.rs cover package functions, pointer receivers, value receivers, and top-level code

@xaldama xaldama requested a review from a team as a code owner April 20, 2026 13:14
@xaldama xaldama requested review from jdelgo and removed request for a team April 20, 2026 13:14
@datadog-datadog-prod-us1-2

This comment has been minimized.

@xaldama xaldama marked this pull request as draft April 20, 2026 13:43
@xaldama xaldama force-pushed the xabier.aldama/detect_method_go branch from 73eef48 to fd0e118 Compare April 20, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant