You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, when instrumenting, main.go gets modified with many blank imports. I think this is confusing to users and doesn't feel like "no-code". It is unavoidable to add code to support go mod tidy but it is best to not modify actual user code.
Output blank imports to a separate file. For example, orchestrion outputs orchestrion.tool.go with build tag +tool. I think the build tag is overkill, but having a separate file is much nicer than having user code modified.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, when instrumenting,
main.go
gets modified with many blank imports. I think this is confusing to users and doesn't feel like "no-code". It is unavoidable to add code to supportgo mod tidy
but it is best to not modify actual user code.Describe the solution you'd like
Output blank imports to a separate file. For example, orchestrion outputs
orchestrion.tool.go
with build tag+tool
. I think the build tag is overkill, but having a separate file is much nicer than having user code modified.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: