mockeddata

package
v0.0.0-...-72b73c1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReviews

func CreateReviews(
	service app.ReviewsService,
	userIDs []uuid.UUID,
	bookID int64,
) error

func CreateUsers

func CreateUsers(
	service app.AuthService,
	signUpService app.SignUpService,
	count int,
) ([]uuid.UUID, error)

Types

type Setup

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

func NewSetup

func NewSetup(tagsService app.TagsService, reviewsService app.ReviewsService, bookManagerService app.BookManagerService, authService app.AuthService, signUpService app.SignUpService) Setup

func (*Setup) Run

func (s *Setup) Run(options SetupOptions) error

type SetupOptions

type SetupOptions struct {
	Users         int
	BooksLocation string
}

Jump to

Keyboard shortcuts

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