person_repo

package
v0.0.0-...-753c707 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	FindPersonByPhone(ctx context.Context, phone string) ([]byte, error)
	FindPersonByID(ctx context.Context, accountId string) ([]byte, error)
	FindPersonProfile(ctx context.Context, _id string) ([]byte, error)
	FindPersonCrendential(ctx context.Context, _id string) ([]byte, error)
	Update(ctx context.Context, _id string, person any) (*mongo.UpdateResult, error)
	Save(ctx context.Context, person any) (*mongo.InsertOneResult, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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