Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Can't get this package. #41

Closed
ando-masaki opened this issue Jul 27, 2018 · 3 comments
Closed

Can't get this package. #41

ando-masaki opened this issue Jul 27, 2018 · 3 comments

Comments

@ando-masaki
Copy link

ando-masaki commented Jul 27, 2018

I can't get this package for following reason.

$ go get github.com/GoogleCloudPlatform/cloud-functions-go
../../../github.com/GoogleCloudPlatform/cloud-functions-go/main.go:22:2: local import "./nodego" in non-local package

How to use this package?

@ssttevee
Copy link
Contributor

This package is meant to live outside of the GOPATH. So, you have to git clone this repo rather than go geting it.

From there, your starting point is main.go. If you want to use the events sub-package, you must import ./events which is a relative path.

@iangudger
Copy link
Contributor

I just looked over the README, and while I think the information is there, I agree that it is more subtle than it should be. @ando-masaki, have you gotten it working? Do you want to try to clarify the instructions?

@ando-masaki
Copy link
Author

I see. I cloned this repository, and it works. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants