database

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	Name      string
	Driver    string
	DriverPkg string
	Major     int
	Minor     int
	Release   int
}

Product represents database product

func Parse

func Parse(input []byte) (info *Product, err error)

Parse parses product info

func (*Product) Equal

func (p *Product) Equal(dialect *Product) bool

Equal checks if product are equal

func (*Product) New

func (p *Product) New(major, minor, release int) *Product

New crates new product with supplied version

Jump to

Keyboard shortcuts

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