Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Go server run fail (cannot use *notification) #15

Description

@tv8eye
  1. I setup golang on Mac (using official manual)
  2. Install go-gcm:
    $ go get github.com/google/go-gcm
    $ go install github.com/google/go-gcm

  1. Open friendlyPing/server/Go folder and run:

go run server.go -testData testdata/clients.json -apiKey XXXXXXXXX -senderId XXXXXXXXX

  1. Then I get:

# command-line-arguments
./server.go:174: cannot use *notification (type gcm.Notification) as type *gcm.Notification in field value

I checked that /Users/username/gocode/src/github.com/google/go-gcm exist in my workspace folder

Can you give me some directions what is need to be checked in my setup? I suggested that go do not see go-gcm package, but everything looking fine for me

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions