helper

package
v1.10.2-lts Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(dns string, opts ...DumpOption) error

func Source

func Source(dns string, reader io.Reader, opts ...SourceOption) error

Types

type DumpOption

type DumpOption func(*dumpOption)

func WithData

func WithData() DumpOption

func WithDropTable

func WithDropTable() DumpOption

func WithWriter

func WithWriter(writer io.Writer) DumpOption

type SourceOption

type SourceOption func(*sourceOption)

func WithMergeInsert

func WithMergeInsert(size int) SourceOption

Jump to

Keyboard shortcuts

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