Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewRepository), fx.Invoke(Register), )
Module for fx.
Functions ¶
Types ¶
type Repository ¶ added in v0.125.0
Repository for books.
func NewRepository ¶ added in v0.125.0
func NewRepository(fs *embed.FS) Repository
NewRepository for books.
type YAMLRepository ¶ added in v0.125.0
type YAMLRepository struct {
// contains filtered or unexported fields
}
YAMLRepository has books in a file.
func (*YAMLRepository) GetBooks ¶ added in v0.125.0
func (r *YAMLRepository) GetBooks() (*Model, error)
GetBooks from a file.
Click to show internal directories.
Click to hide internal directories.