version

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSet

func IsSet() bool

IsSet reports whether the version was previously set.

func Set

func Set(v PostgresVersion)

Set sets the Postgres version pogo is using.

Types

type PostgresVersion

type PostgresVersion int

PostgresVersion represents the current Postgres version pogo is targeting for.

const (
	Postgres9 PostgresVersion = iota
	Postgres13
)

Supports 9.6 and 13.

func Get

func Get() PostgresVersion

Get returns the Postgres version set.

Jump to

Keyboard shortcuts

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