config

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* @Author: 7erry * @Date: 2024-08-31 03:44:46 * @LastEditTime: 2024-12-14 16:48:05 * @Description: Config file for the git metrics collector

Index

Constants

View Source
const (
	// Log Config
	LOG_LEVEL = logrus.InfoLevel

	// I/O Config
	INPUT_CSV_PATH  string = "./input/input.csv"
	OUTPUT_CSV_PATH string = "./output/output.csv"

	// Database Config
	BATCH_SIZE                = 256
	PSQL_HOST          string = ""
	PSQL_USER          string = ""
	PSQL_PASSWORD      string = ""
	PSQL_DATABASE_NAME string = ""
	PSQL_PORT          string = ""
	PSQL_SSL_MODE      string = ""

	SQLITE_DATABASE_PATH string = "./output/test.db"
	SQLITE_USER          string = ""
	SQLITE_PASSWORD      string = ""
)

Variables

View Source
var STORAGE_PATH string = "./storage"

The cloned repositories will be stored in STORAGE_PATH

Functions

func SetStoragetPath

func SetStoragetPath(path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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