value

package
v0.0.0-...-b066fa0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedTimestamp = "google.protobuf.Timestamp"
)

Variables

This section is empty.

Functions

func RegisterMessage

func RegisterMessage(name pr.FullName, c Constructor)

Types

type Constructor

type Constructor func(pr.FieldDescriptor, pgtype.Status) (Value, error)

type Value

type Value interface {
	pgtype.ValueTranscoder
	PGValue() pgtype.Value
	SetTo(pr.Message)
}

func New

func New(fd pr.FieldDescriptor, status pgtype.Status) (v Value, err error)

Jump to

Keyboard shortcuts

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