common

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 3 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ColTypeBoolean       uint32 = 5
	ColTypeInt64         uint32 = 6
	ColTypeFloat64       uint32 = 7
	ColTypeChar          uint32 = 8
	ColTypeVarChar       uint32 = 9
	ColTypeDate          uint32 = 10
	ColTypeTime          uint32 = 11
	ColTypeTimestamp     uint32 = 12
	ColTypeTimestampTZ   uint32 = 13
	ColTypeInterval      uint32 = 14
	ColTypeIntervalYM    uint32 = 114
	ColTypeTimeTZ        uint32 = 15
	ColTypeNumeric       uint32 = 16
	ColTypeVarBinary     uint32 = 17
	ColTypeUUID          uint32 = 20
	ColTypeLongVarChar   uint32 = 115
	ColTypeLongVarBinary uint32 = 116
	ColTypeBinary        uint32 = 117
)
View Source
const (
	AuthenticationOK                int32 = 0
	AuthenticationCleartextPassword int32 = 3
	AuthenticationMD5Password       int32 = 5
	AuthenticationOAuth             int32 = 12
	AuthenticationTOTP              int32 = 14
	AuthenticationSHA512Password    int32 = 66048
)

Authentication Response/States

Variables

This section is empty.

Functions

func ColumnTypeString

func ColumnTypeString(typeOID uint32, typeModifier int32) string

func CurrentFile added in v0.1.4

func CurrentFile() string

func CurrentLine added in v0.1.4

func CurrentLine() int

func GetReadableFileSizes added in v0.1.4

func GetReadableFileSizes(fileList []string) ([]uint64, error)

Types

type ParameterType

type ParameterType struct {
	TypeOID      uint32
	TypeName     string
	TypeModifier int32
	Nullable     bool
}

Jump to

Keyboard shortcuts

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