You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System version: macOS Monterey Version 12.4
Firebase SDK version: 4.8.0/ 3.13.0
Firebase Product: messaging
Problem
Getting the following on running go build main.go
vendor/github.com/firebase/firebase-admin-go/firebase.go:31:2: use of internal package firebase.google.com/go/internal not allowed
The error seems correct according to the document but then why is the internal package functions of firebase.google.com/go used in the admin sdk.
Steps to reproduce:
Failed to build and run the project for sending push notifications.
Add the main.go file in the project.
run the commands: go mod init, go mod tidy, go mod vendor
Environment
Problem
Getting the following on running go build main.go
vendor/github.com/firebase/firebase-admin-go/firebase.go:31:2: use of internal package firebase.google.com/go/internal not allowed
The error seems correct according to the document but then why is the internal package functions of firebase.google.com/go used in the admin sdk.
Steps to reproduce:
Failed to build and run the project for sending push notifications.
Relevant Code:
tried with go version: 1.14, 1.17
main.go
The text was updated successfully, but these errors were encountered: