GithubHelp home page GithubHelp logo

Comments (3)

iakkus avatar iakkus commented on June 11, 2024

Hi, thanks for filing this issue!

I dug a little and I think this has something to do with the way Go manages packages. See the following guide: https://golang.org/doc/code.html

Note that you don't need to publish your code to a remote repository before you can build it. A module can be defined locally without belonging to a repository. However, it's a good habit to organize your code as if you will publish it someday.

As such, the current 'develop' branch has been updated to reflect the current repository name (i.e., "github.com/microfn/microfunctions/" -> "github.com/knix-microfunctions/knix/"). The rest of the naming is still correct, because that's where the generated code will be (e.g., "Sandbox/frontend/localqueueservice").

And the .gitignore is set correctly to ignore these generated code, because they can always be generated (and can only create spurious commits).

@manuelstein: Do you have a better explanation regarding this?

from knix.

manuelstein avatar manuelstein commented on June 11, 2024

No, @iakkus, thanks a lot for fixing the url-style package name and providing this great explanation. I've been meaning to make this change but it somehow slipped. Thanks, @yannjor for noticing.

I'd only add that it's not good practice to use local imports in a non-local repo and that's what this module should be. It lives at github.com/knix-microfunctions/knix/Sandbox/frontend, so also its submodules should be referred to using the non-local prefix.

@yannjor please let us know if you think otherwise.

from knix.

yannjor avatar yannjor commented on June 11, 2024

Makes sense guys, thanks for the explanations. I compiled the KNIX Sandbox and now I don't get these errors anymore.

from knix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.