pgkident

package
v0.0.0-...-b6d9d2a Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) string

Bool returns the string to use for a Go identifier for type of bool.

func Bytes

func Bytes(vv []byte) string

Bytes returns the string to use for a Go identifier for type of bytes.

func Float32

func Float32(v float32) string

Float32 returns the string to use for a Go identifier for type of float32.

func Float64

func Float64(v float64) string

Float64 returns the string to use for a Go identifier for type of float64.

func Int32

func Int32(v int32) string

Int32 returns the string to use for a Go identifier for type of int32.

func Int64

func Int64(v int64) string

Int64 returns the string to use for a Go identifier for type of int64.

func SliceBool

func SliceBool(vv []bool) string

SliceBool returns the string to use for a Go identifier for type of bool slice.

func SliceBytes

func SliceBytes(vv [][]byte) string

SliceBytes returns the string to use for a Go identifier for type of bytes slice.

func SliceDuration

func SliceDuration(goType string, vv []*durationpb.Duration) string

func SliceEnum

func SliceEnum(goType string, vv []int32) string

SliceEnum returns the string to use for a Go identifier for type of enum slice.

func SliceFloat32

func SliceFloat32(vv []float32) string

SliceFloat32 returns the string to use for a Go identifier for type of float32 slice.

func SliceFloat64

func SliceFloat64(vv []float64) string

SliceFloat64 returns the string to use for a Go identifier for type of float64 slice.

func SliceInt32

func SliceInt32(vv []int32) string

SliceInt32 returns the string to use for a Go identifier for type of int32 slice.

func SliceInt64

func SliceInt64(vv []int64) string

SliceInt64 returns the string to use for a Go identifier for type of int64 slice.

func SliceString

func SliceString(vv []string) string

SliceString returns the string to use for a Go identifier for type of string slice.

func SliceTimestamp

func SliceTimestamp(goType string, vv []*timestamppb.Timestamp) string

func SliceUint32

func SliceUint32(vv []uint32) string

SliceUint32 returns the string to use for a Go identifier for type of uint32 slice.

func SliceUint64

func SliceUint64(vv []uint64) string

SliceUint64 returns the string to use for a Go identifier for type of uint64 slice.

func String

func String(v string) string

String returns the string to use for a Go identifier for type of string.

func UInt32

func UInt32(v uint32) string

UInt32 returns the string to use for a Go identifier for type of uint32.

func UInt64

func UInt64(v uint64) string

UInt64 returns the string to use for a Go identifier for type of uint64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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