parse

package
v0.0.0-...-80ac902 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module is a fx module

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Command *cobra.Command

	AppConfig *config.App
	DB        db.DataStorer
}

func NewCommand

func NewCommand(p Params) (*Cmd, error)

func (*Cmd) DoParse

func (cmd *Cmd) DoParse(inpxFile string)

func (*Cmd) FinishProcessing

func (cmd *Cmd) FinishProcessing()

func (*Cmd) ProcessBook

func (cmd *Cmd) ProcessBook(book *models.Book) error

type Params

type Params struct {
	fx.In

	AppConfig *config.App
	DB        db.DataStorer
}

Params represents the module input params

Jump to

Keyboard shortcuts

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