goplus / igop

The Go/Go+ Interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to include a local package,When I using igop

lx217197 opened this issue · comments

dir1/flie.go=package a xxxxx
dir2/file.go = package b import a xxxxxxx

igop.RunFile("main.go","dir2/file.go")

commented

@visualfc I have seen the function and the sample,But the scripts dir are not always in my control. Is there a way to organize directories on the script code side

commented

@visualfc I have seen the function and the sample,But the scripts dir are not always in my control. Is there a way to organize directories on the script code side

use go.mod

@visualfc I am surprised that igop can support go mod, it's amazing