importer

package
v0.0.0-...-503c688 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoProcess

func DoProcess(cfg *Config)

DoProcess generates data.

Types

type Config

type Config struct {
	TableSQL    string          `toml:"table-sql" json:"table-sql"`
	IndexSQL    string          `toml:"index-sql" json:"index-sql"`
	LogLevel    string          `toml:"log-level" json:"log-level"`
	DBCfg       dbutil.DBConfig `toml:"db" json:"db"`
	WorkerCount int             `toml:"worker-count" json:"worker-count"`
	JobCount    int             `toml:"job-count" json:"job-count"`
	Batch       int             `toml:"batch" json:"batch"`
}

Config is the configuration.

func (*Config) String

func (c *Config) String() string

Jump to

Keyboard shortcuts

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