MCPcopy Create free account
hub / github.com/bracesdev/errtrace / insertWrapClose

Struct insertWrapClose

cmd/errtrace/main.go:1089–1091  ·  view source on GitHub ↗

insertWrapClose closes a errtrace.Wrap call. foo() -> foo()) This needs a corresponding insertWrapOpen to open the call.

Source from the content-addressed store, hash-verified

1087//
1088// This needs a corresponding insertWrapOpen to open the call.
1089type insertWrapClose struct {
1090 After token.Pos // position to insert after
1091}
1092
1093func (e *insertWrapClose) Pos() token.Pos {
1094 return e.After

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected