adapters

package
v0.0.0-...-e3377f5 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID       string `firestore:"id"`
	Name     string `firestore:"name,omitempty"`
	Email    string `firestore:"email"`
	Password string `firestore:"password"`
}

type UserRepository

type UserRepository struct {
	// contains filtered or unexported fields
}

func NewUserFirestoreRepository

func NewUserFirestoreRepository(firestoreClient *firestore.Client) *UserRepository

func (UserRepository) AddUser

func (repo UserRepository) AddUser(ctx context.Context, user models.User) error

Jump to

Keyboard shortcuts

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