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
Update/import without any arguments regenerates all the import files for all packages that Gomacro knows about, including the standard library, with the option "Import.Uses.Module" unset.
Example: gomacro update
With arguments, generates files for all packages listed as arguments.
Example: gomacro update github.com/faiface/beep unsafe strings
Reason: With new releases Go packages sometimes get new functions, and Gomacro doesn't know about them, so they can't be used without reimporting and recompiling.
Also, this would make testing packages that you're working on much simpler, since after every update you could just run a little script to fix the import file and rebuild Gomacro.
Go run executes the specified Go file, loading it and calling main(). Of course this is already possible, but it may decrease confusion for new users and give them a more convensional way to do it.
The text was updated successfully, but these errors were encountered:
Update/import without any arguments regenerates all the import files for all packages that Gomacro knows about, including the standard library, with the option "Import.Uses.Module" unset.
Example: gomacro update
With arguments, generates files for all packages listed as arguments.
Example: gomacro update github.com/faiface/beep unsafe strings
Reason: With new releases Go packages sometimes get new functions, and Gomacro doesn't know about them, so they can't be used without reimporting and recompiling.
Also, this would make testing packages that you're working on much simpler, since after every update you could just run a little script to fix the import file and rebuild Gomacro.
Go run executes the specified Go file, loading it and calling main(). Of course this is already possible, but it may decrease confusion for new users and give them a more convensional way to do it.
The text was updated successfully, but these errors were encountered: