Skip to content

Import context from golang.org/x/net #110

@tbpg

Description

@tbpg

[REQUIRED] Step 2: Describe your environment

  • Operating System version: N/A
  • Firebase SDK version: N/A
  • Library version: Master
  • Firebase Product: all

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

go version 1.6
go get -u firebase.google.com/go

Log from a failed Travis build:

get "firebase.google.com/go": found meta tag main.metaImport{Prefix:"firebase.google.com/go", VCS:"git", RepoRoot:"https://github.com/firebase/firebase-admin-go"} at https://firebase.google.com/go?go-get=1
firebase.google.com/go (download)
package context: unrecognized import path "context" (import path does not begin with hostname)

https://travis-ci.org/GoogleCloudPlatform/golang-samples/jobs/351066691#L1064

Relevant Code:

import "context" should be import "golang.org/x/net/context".

This is mentioned in the v.2.5.0 changelog, but looks like there are some references remaining: https://github.com/firebase/firebase-admin-go/search?utf8=%E2%9C%93&q=context&type=.

This is blocking GoogleCloudPlatform/golang-samples#418.

I'll work on a PR.

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