Code Monkey home page Code Monkey logo

Comments (5)

hanwen avatar hanwen commented on September 15, 2024

looks like you are not using modules for the build.

from go-mtpfs.

joeydumont avatar joeydumont commented on September 15, 2024

I was able to compile by running

  go mod init hanwen/go-mtpfs
  go get -v -x github.com/hanwen/go-mtpfs

Is go mod init something that I, the packager, should be running, or should it be generated by you, the maintainer, and put into version control?

Also, I had to unset GOPATH, as go.mod cannot be in the GOPATH.

from go-mtpfs.

Humenger avatar Humenger commented on September 15, 2024

我能够通过运行进行编译

  go mod init hanwen/go-mtpfs
  go get -v -x github.com/hanwen/go-mtpfs

go mod init的东西,我的打包,应该是跑步,还是应该由你来产生,维护者,并投入版本控制?

另外,我必须取消设置GOPATH,因为go.mod不能位于GOPATH中。

cannot find package "github.com/hanwen/go-fuse/v2/fs"
I have encountered the same error, have you solved it?

from go-mtpfs.

joeydumont avatar joeydumont commented on September 15, 2024

I solved it by using the commands I quoted. Here's my PKGBUILD for Arch Linux:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=go-mtpfs-git

from go-mtpfs.

hanwen avatar hanwen commented on September 15, 2024

this should be fixed by

commit ac020cb
Author: Han-Wen Nienhuys [email protected]
Date: Thu Oct 24 08:57:47 2019 +0200

README.md: update for Go modules

commit 05f80d1
Author: Han-Wen Nienhuys [email protected]
Date: Thu Oct 24 08:52:40 2019 +0200

Add go.mod and go.sum

from go-mtpfs.

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.