Help us shape the future of Go! Take the 2026 Go Developer Survey

contracts

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Connector                                                          driver.Connector
	Dsn, Host, Database, Username, Password, Schema, Sslmode, Timezone string
	Port                                                               int
}

type ConfigBuilder

type ConfigBuilder interface {
	Config() contractsconfig.Config
	Connection() string
	Readers() []FullConfig
	Writers() []FullConfig
}

type FullConfig

type FullConfig struct {
	Config
	Driver, Connection, Prefix string
}

type Replacer deprecated

type Replacer interface{ Replace(string) string }

Deprecated: declare stable table and column names explicitly.

Jump to

Keyboard shortcuts

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