utils

package
v0.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleHostAndHosts

func HandleHostAndHosts(host string, hosts []string) []string

Purpose of function HandleHostAndHosts - guarantee smooth transition from 'host' to 'hosts' it allows to be filled both fields - 'host' & 'hosts' - can be useful on migration period. it saves order, but enforces uniqueness.

func ValidatePGTables

func ValidatePGTables(tables []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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