microo8 / mimir

Generates minimal embedded database from structs in golang; moved to gitlab.com/microo8/mimir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test2

joeblew99 opened this issue · comments

could you put a .sh script in to show how to run the generation ?

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

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

thanks for your help in getting it working. Its really nice to use.