#Directory structure import my own package
15 messages · Page 1 of 1 (latest)
what's the exact error?
i want to import it but language server and linter says no
im asking for the error message
does that not tell you what's wrong?
i think your subpackage has a package name of main, which you want to avoid
you usually name it so that it's the same as the folder name, for example package commands
that's not how you use foreign functions
how is the parser supposed to know which function is coming from which package?
what should i do?
for example if your package is commands, you use it like commands.FunctionName
oh