firebase

package
v0.0.0-...-4448f6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	App    *firebase.App
	Client *firestore.Client
}

Client stores firestore configured object that are needed to save data to firestore.

func Setup

func Setup(ctx context.Context) (*Client, error)

Setup retrieves the necessary project information to set up a firestore client.

func (*Client) AddMeetupInfos

func (c *Client) AddMeetupInfos(ctx context.Context, collectionName string, data []meetup.Info) error

AddMeetupInfos adds data to a collection on cloud firestore.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL