models

package
v0.0.0-...-66d2598 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2013 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATE_FORMAT     = "Jan _2, 2006"
	SQL_DATE_FORMAT = "2006-01-02"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffPatch

type DiffPatch struct {
	DiffId                                 int
	Name, Url, Artist, Title, DateAddedStr string

	// Is transient
	DateAdded    time.Time
	RequestCount int
}

func (*DiffPatch) PostGet

func (p *DiffPatch) PostGet(exe gorp.SqlExecutor) error

func (*DiffPatch) PreInsert

func (p *DiffPatch) PreInsert(_ gorp.SqlExecutor) error

Jump to

Keyboard shortcuts

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