Help us shape the future of Go! Take the 2026 Go Developer Survey

paramdecoder

package
v0.12.730 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package paramdecoder decodes parameter values from their wire format (text or binary) into string representations suitable for SQL substitution.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	DecodeParams(paramOIDs []uint32, paramFormats []int16, paramValues [][]byte) ([]string, error)
}

Decoder decodes raw parameter bytes according to their format codes and OIDs, returning string representations for each.

func NewDecoder

func NewDecoder() Decoder

NewDecoder creates a new parameter decoder.

Jump to

Keyboard shortcuts

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