Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlaceholderGenerator ¶
type PlaceholderGenerator struct { }
PlaceholderGenerator represents placeholder
func (*PlaceholderGenerator) Len ¶
func (p *PlaceholderGenerator) Len(start, numOfPlaceholders int) int
Len calculates length of placeholders might be used to alocate in advance required slice length
func (*PlaceholderGenerator) Resolver ¶
func (p *PlaceholderGenerator) Resolver() func() string
Resolver returns Postgres placeholder
Click to show internal directories.
Click to hide internal directories.