Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ requests, code review feedback, and also pull requests.

## Supported Go Versions

We support Go v1.11 and higher.
We support Go v1.12 and higher.
[Continuous integration](https://github.com/firebase/firebase-admin-go/actions) system
tests the code on Go v1.11 through v1.13.
tests the code on Go v1.12 through v1.14.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion auth/auth_std.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package auth // import "firebase.google.com/go/auth"
package auth

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion auth/hash/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Package hash contains a collection of password hash algorithms that can be used with the
// auth.ImportUsers() API. Refer to https://firebase.google.com/docs/auth/admin/import-users for
// more details about supported hash algorithms.
package hash // import "firebase.google.com/go/auth/hash"
package hash

import (
"encoding/base64"
Expand Down
2 changes: 1 addition & 1 deletion db/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package db // import "firebase.google.com/go/v4/db"
package db

import (
"context"
Expand Down
8 changes: 5 additions & 3 deletions errorutils/errorutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
// limitations under the License.

// Package errorutils provides functions for checking and handling error conditions.
package errorutils // import "firebase.google.com/go/v4/errorutils"
package errorutils

import "firebase.google.com/go/v4/internal"
import (
"net/http"

import "net/http"
"firebase.google.com/go/v4/internal"
)

// IsInvalidArgument checks if the given error was due to an invalid client argument.
func IsInvalidArgument(err error) bool {
Expand Down
2 changes: 1 addition & 1 deletion firebase.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Package firebase is the entry point to the Firebase Admin SDK. It provides functionality for initializing App
// instances, which serve as the central entities that provide access to various other Firebase services exposed
// from the SDK.
package firebase // import "firebase.google.com/go/v4"
package firebase

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion iid/iid.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

// Package iid contains functions for deleting instance IDs from Firebase projects.
package iid // import "firebase.google.com/go/v4/iid"
package iid

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion internal/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

// Package internal contains functionality that is only accessible from within the Admin SDK.
package internal // import "firebase.google.com/go/v4/internal"
package internal

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion messaging/messaging.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

// Package messaging contains functions for sending messages and managing
// device subscriptions with Firebase Cloud Messaging (FCM).
package messaging // import "firebase.google.com/go/v4/messaging"
package messaging

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

// Package storage provides functions for accessing Google Cloud Storge buckets.
package storage // import "firebase.google.com/go/storage"
package storage

import (
"context"
Expand Down