go-firebase-admin
go-firebase-admin copied to clipboard
Unofficial Firebase Admin SDK for Golang
``` cannot use fbFile (type "gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/option".ClientOption) as type "gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/option".ClientOption in argument to firebase.InitializeApp "gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/option".ClientOption does not implement "gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/option".ClientOption (wrong type for Apply method) have Apply(*"gitlab.com/dolan-in/dolan/vendor/google.golang.org/api/internal".DialSettings) want Apply(*"gitlab.com/dolan-in/dolan/vendor/github.com/acoshift/go-firebase-admin/vendor/google.golang.org/api/internal".DialSettings) fbFile ClientOption ```...
for anyone want to migrate from firebase auth.
- OnceChildAdded - OnceChildRemove - OnceChildChanged - OnceChildMoved
- Change function from `(chan *DataSnapshot) CancelFunc` to `(context.Context, func(*DataSnapshot))` - OnValue - OnChildAdded - OnChildRemoved - OnChildChanged - OnChildMoved --- implement with SSE first, in future may change to...
In JavaScript client `firebase.database().ref('data').on('value', () => {})` will cache data when call `firebase.database().ref('data').once('value').then(...)` will get data from cache Not sure if we need this in Go
I'm not a native English speaker. It's very hard for me to write doc in English.