insertImportErrtrace adds an import declaration to the file right after the given node.
| 1045 | // insertImportErrtrace adds an import declaration to the file |
| 1046 | // right after the given node. |
| 1047 | type insertImportErrtrace struct { |
| 1048 | AddKeyword bool // whether the "import" keyword should be added |
| 1049 | At token.Pos // position to insert at |
| 1050 | } |
| 1051 | |
| 1052 | func (e *insertImportErrtrace) Pos() token.Pos { |
| 1053 | return e.At |
nothing calls this directly
no outgoing calls
no test coverage detected