pgutil

package
v0.0.0-...-ad0439d Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Utility functions used in pg package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendTime

func AppendTime(dst []byte, tm time.Time) []byte

func ParseTime

func ParseTime(b []byte) (time.Time, error)

func Underscore

func Underscore(s string) string

Converts 'CamelCasedString' to 'camel_cased_string'. Used for converting struct field names to database column names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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