Coder Social home page Coder Social logo

Comments (6)

nl5887 avatar nl5887 commented on May 8, 2024

Could you try this with latest version?

from transfer.sh.

devpets avatar devpets commented on May 8, 2024

How to build?
Downloaded master.zip,
running:
transfer@archive:/transfer.sh/cmd$ cd ..
transfer@archive:
/transfer.sh$ ls
cmd Dockerfile extras LICENSE lock.json main.go manifest.json README.md server Vagrantfile vendor
transfer@archive:/transfer.sh$ pwd
/home/transfer/transfer.sh
transfer@archive:
/transfer.sh$ go build -o transfersh main.go
main.go:3:8: cannot find package "github.com/dutchcoders/transfer.sh/cmd" in any of:
/usr/lib/go-1.6/src/github.com/dutchcoders/transfer.sh/cmd (from $GOROOT)
($GOPATH not set)
transfer@archive:~/transfer.sh$

from transfer.sh.

aspacca avatar aspacca commented on May 8, 2024

@devpets you need to set $GOPATH and have the code in $GOPATH/src/github.com/dutchcoders/transfer.sh
see: https://github.com/golang/go/wiki/SettingGOPATH

from transfer.sh.

mckaygerhard avatar mckaygerhard commented on May 8, 2024

well quite trange but since go 1.12 gopath are deprecated ? or goroot?

from transfer.sh.

aspacca avatar aspacca commented on May 8, 2024

@mckaygerhard none of them, they may be in the future

from transfer.sh.

mckaygerhard avatar mckaygerhard commented on May 8, 2024

umm that are interesting, but after read this https://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroot-really i think setting gorrot or gopath are a windo-like trick only! and i really this its a invalid issue! but in any case will defect and dificult the OS like proper distribution...

as the documentation said, GOΓ„TH are mandatory and only now goroot declaration are optional due automatically set to package root, that means: https://golang.org/doc/go1.10#goroot in any proyect must be automatically permit OS software package redistribution so then your proyect must use the current directory. but seems not happened!

from transfer.sh.

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.