GithubHelp home page GithubHelp logo

Comments (7)

PokIsemaine avatar PokIsemaine commented on August 23, 2024 2

@harshalmittal4 Thanks for your feedback, but I tried to follow your instructions and did not install successfully
image

After reading Deprecation of 'go get' for installing executables, it is my understanding that go get is just no longer used to "install executables", not completely deprecated.

As indicated in the picture, casbin is not a main package, so it cannot be installed via go install. You should get casbin via go get, just like the official website.

In addition, according to your error message, you may not execute go get in the correct directory (where the go.mod file exists), so an error occurred

go: go.mod file not found in current directory or any parent directory.

I tried to install casbin using go get and it worked

image

Hope this helps you

from casbin-website-v2.

PokIsemaine avatar PokIsemaine commented on August 23, 2024 1

@harshalmittal4 you can try to contact @hsluoyz in
https://gitter.im/casbin/gsoc

from casbin-website-v2.

casbin-bot avatar casbin-bot commented on August 23, 2024

@tangyang9464 @JalinWang @imp2002

from casbin-website-v2.

hsluoyz avatar hsluoyz commented on August 23, 2024

@PokIsemaine

from casbin-website-v2.

harshalmittal4 avatar harshalmittal4 commented on August 23, 2024

Oh sorry @PokIsemaine , I ran go install after which it started downloading some projects due to which I switched to another window. I just checked that it's not installed.
Screenshot 2023-02-05 at 10 14 56 PM

I was not in the correct directory, I am able to install it now via go get. Thanks and sorry to bother you with this! Closing the issue

from casbin-website-v2.

harshalmittal4 avatar harshalmittal4 commented on August 23, 2024

Hey @PokIsemaine ,
unrelated to this issue, I find the Casbin project piquing my interest as it's related to policy enforcement and control, which is similar to something I've worked on earlier, and also because I'm looking for a Go project to contribute to for learning and developing my skills.
I wish to work on a Casbin project for GSoC and currently exploring as much as I can about the project. Would you be please able to help me know if there are some easy issues that I can start with?

from casbin-website-v2.

harshalmittal4 avatar harshalmittal4 commented on August 23, 2024

Thanks

from casbin-website-v2.

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.