Created
August 28, 2019 20:00
-
-
Save rusenask/ee3928fabf3a13b744615143402a29c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (m *FirestoreBinManager) BinPut(ctx context.Context, b *bin.Bin) (err error) { | |
_, err = m.client.Collection(m.binsCollection).Doc(b.GetId()).Set(ctx, b) | |
return err | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment