Suppose I have a package MyTest,
MyTest/src/MyTest.jl
MyTest/src/A.jl
A.jl:
module A ... end
MyTest.jl
module MyTest
using A
...
end
When I downloaded the package from Pkg.clone("..")and using MyTest, he complained that he could not find A. What is the standard way to work with multiple modules in a package? Or does Julia encourage one top-level module?
source
share