test2
joeblew99 opened this issue · comments
jow blew commented
could you put a .sh script in to show how to run the generation ?
jow blew commented
this fails for me when trying to run the code gen
go run $GOPATH/src/github.com/microo8/mimir/mimir.go $GOPATH/src/github.com/microo8/mimir/test/test2/mypackage/structs.go
Vlαdo Magyar commented
You must compile (optionaly install) mímir
cd $GOPATH/src/github.com/microo8/mimir
go build
#or go install
and then run mimir $GOPATH/src/github.com/microo8/mimir/test/test2/mypackage/structs.go
.
when you're doing go run $GOPATH/src/github.com/microo8/mimir/mimir.go $GOPATH/src/github.com/microo8/mimir/test/test2/mypackage/structs.go
the go run
tool wants to compile mimir.go
and structs.go
together and then run it.
for more info check out the go
cmd here
jow blew commented
thanks for your help in getting it working. Its really nice to use.