config

package
v0.0.0-...-ec80198 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INCR                               string        = "INCREMENTAL"
	FULL                               string        = "FULL"
	DateFormat                         string        = "January 2, 2006"
	DelayBetweenRequests               time.Duration = 0 // seconds
	DefaultErrorToleranceRowsForExport               = 10
	EpisodeNumberHeaderName                          = "Episode Number"
	ExcelSheetName                     string        = "Sheet1"
	OutputFolderPath                   string        = "data/kaggle"
	MaxPagesIncrScrape                 int           = 3
)

Variables

View Source
var ColumnHeaders []string = []string{
	"Episode Number", "Episode Title", "Episode Date",
	"Contestant Last Name", "Contestant First Name", "Home City", "Home State", "Is Winner",
	"Round One Attempts", "Round One Buzzes", "Round One Buzz Percentage",
	"Round One Correct Answers", "Round One Incorrect Answers", "Round One Correct Answer Percentage",
	"Round One Daily Doubles", "Round One Score",
	"Round Two Attempts", "Round Two Buzzes", "Round Two Buzz Percentage",
	"Round Two Correct Answers", "Round Two Incorrect Answers", "Round Two Correct Answer Percentage",
	"Round Two Daily Double 1", "Round Two Daily Double 2", "Round Two Score",
	"Final Jeopardy Starting Score", "Final Jeopardy Wager", "Final Jeopardy Score",
	"Total Game Attempts", "Total Game Buzzes", "Total Game Buzz Percentage",
	"Total Game Correct Answers", "Total Game Incorrect Answers", "Total Game Correct Answer Percentage",
	"Total Game Daily Doubles Correct", "Total Game Daily Doubles Incorrect", "Total Game Daily Double Winnings",
	"Total Game Score", "Total Triple Stumpers",
}
View Source
var FilePath string = os.Getenv("FILE_PATH")
View Source
var StorageTypes []string = []string{"CSV", "EXCEL", "DB"}

Functions

func CheckFilePathSet

func CheckFilePathSet() bool

func LoadDatabaseConfig

func LoadDatabaseConfig() *model.DatabaseConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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