config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KeyConnection - string for connect to db2.
	KeyConnection string = "snowflake.url"
	// KeyTable database table name.
	KeyTable string = "snowflake.table"
)

Variables

This section is empty.

Functions

func Validate added in v0.3.1

func Validate(data any) error

Validate validates a struct.

Types

type Config

type Config struct {
	// Table name.
	Table string `json:"snowflake.table" validate:"required"`
}

Config represents configuration needed for Snowflake.

Jump to

Keyboard shortcuts

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