pgutil

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: May 25, 2015 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