lon9/gin-firebase-auth

module declares its path as: ginfirebaseauth but was required as: github.com/lon9/gin-firebase-auth

Abacaxi-Nelson opened this issue · 2 comments

Hello
Trying to follow example, but when i try to run project i get

go: dmplestudio/jam3-api imports
        github.com/lon9/gin-firebase-auth: github.com/lon9/gin-firebase-auth@v0.0.0-20221012133852-ec0ca4b9a320: parsing go.mod:
        module declares its path as: ginfirebaseauth
                but was required as: github.com/lon9/gin-firebase-auth

Code is really a copy paste

import (
	ginfirebaseauth "github.com/lon9/gin-firebase-auth"
)
middleware, err := ginfirebaseauth.New("../credentials.json", nil)
private := r.Group("/private")
private.Use(middleware.MiddlewareFunc())
private.POST("/chat/token", logger.SetLogger(), controllers.CreateChatToken)

Any idea ?

You can try this before the PR is merged.

import "github.com/thaihuynhxyz/ginfirebaseauth"