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
Hi taylorchu :)
while generating a local code the command gorewrite returns the error:
2018/04/03 19:42:47 GOPACKAGE cannot be empty
You can checkout the test setup in the attachment.
On the other side generating a separate package doesn't give such error.
Keep up the great work,
Enrico Bonetti Vieno
P.S.: I do like a lot the elegance of your program - big fun here 👍 - in my opininion with some minor refinments and integrated in the toolchain could be a real substitute for the generics.
The text was updated successfully, but these errors were encountered:
This tool is designed to run with go generate which fills the env variable GOPACKAGE.
Go generate sets several variables when it runs the generator:
$GOARCH
The execution architecture (arm, amd64, etc.)
$GOOS
The execution operating system (linux, windows, etc.)
$GOFILE
The base name of the file.
$GOLINE
The line number of the directive in the source file.
$GOPACKAGE
The name of the package of the file containing the directive.
$DOLLAR
A dollar sign.
Hi taylorchu :)
while generating a local code the command
gorewrite
returns the error:You can checkout the test setup in the attachment.
On the other side generating a separate package doesn't give such error.
Keep up the great work,
Enrico Bonetti Vieno
P.S.: I do like a lot the elegance of your program - big fun here 👍 - in my opininion with some minor refinments and integrated in the toolchain could be a real substitute for the generics.
The text was updated successfully, but these errors were encountered: