helper

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileLoadLineString added in v1.1.5

func FileLoadLineString(path string) ([]string, error)

func FileSaveLineString added in v1.1.5

func FileSaveLineString(fname string, lines []string) error

Types

type Counter added in v1.1.5

type Counter struct {
	// contains filtered or unexported fields
}

func NewCounter added in v1.1.5

func NewCounter() *Counter

func (*Counter) Add added in v1.1.5

func (c *Counter) Add()

func (*Counter) Count added in v1.1.5

func (c *Counter) Count() int32

type Limiter added in v1.1.5

type Limiter struct {
	// contains filtered or unexported fields
}

func NewLimiter added in v1.1.5

func NewLimiter(limit int32) *Limiter

func (*Limiter) Add added in v1.1.5

func (l *Limiter) Add()

func (*Limiter) Count added in v1.1.5

func (l *Limiter) Count() int32

func (*Limiter) LimitReached added in v1.1.5

func (l *Limiter) LimitReached() bool

func (*Limiter) ResetLimiter added in v1.1.5

func (l *Limiter) ResetLimiter()

type ProductlayoutParse

type ProductlayoutParse struct {
	ProductContent *model_public.ProductContentComponent
	ProductDetail  *model_public.ProductDetailComponent
	ProductMedia   *model_public.MediaComponent
}

func ParseProductLayoutComponents

func ParseProductLayoutComponents(components model_public.PDPListComponents) *ProductlayoutParse

Jump to

Keyboard shortcuts

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