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 allocate in advance required slice length
func (*PlaceHolderGenerator) Resolver ¶
func (p *PlaceHolderGenerator) Resolver() func() string
Resolver returns function that returns Default placeholder
Click to show internal directories.
Click to hide internal directories.