Versions in this module Expand all Collapse all v0 v0.0.1 Nov 27, 2024 Changes in this version + const CollectionAssets + const CollectionPosts + var ErrAuthorMissing = fmt.Errorf("%w: author cannot be empty", storage.ErrInvalidArgument) + var ErrContentTypeEmpty = fmt.Errorf("%w: content type cannot be empty", storage.ErrInvalidArgument) + var ErrFileNameMissing = fmt.Errorf("%w: file name cannot be empty", storage.ErrInvalidArgument) + var ErrIDMissing = fmt.Errorf("%w: id cannot be empty", storage.ErrInvalidArgument) + var ErrTitleEmpty = fmt.Errorf("%w: title cannot be empty", storage.ErrInvalidArgument) + var ErrVersionMissing = fmt.Errorf("%w: version cannot be empty", storage.ErrInvalidArgument) + func New(db *gcpfirestore.Client, opt ...Opt) storage.DataStore + type Opt func(*store) + func WithLogger(l *zap.Logger) Opt