storefront_block

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Title

type Title string
const (
	TitleEmpty        Title = ""
	TitleSpecialOffer Title = "special-offer"
	TitleGamesOnSale  Title = "games-on-sale"
	TitleNewGames     Title = "new-games"
	TitleMostPopular  Title = "most-popular"
	TitleTrending     Title = "trending"
	TitleYouMayLikeIt Title = "you-may-like-it"
)

func NewTitle

func NewTitle(t string) Title

func (Title) String

func (t Title) String() string

func (Title) Valid

func (t Title) Valid() bool

type Type

type Type string
const (
	TypeUndefined     Type = "undefined"
	TypeWideSlider    Type = "wide_slider"
	TypeBasicLayout1  Type = "basic_layout_1"
	TypeBasicLayout2  Type = "basic_layout_2"
	TypeBasicLayout4  Type = "basic_layout_4"
	TypeBasicLayout5  Type = "basic_layout_5"
	TypeBasicLayout42 Type = "basic_layout_4_2"
	TypeCatalogue10   Type = "catalog_10"
	TypeCatalogue20   Type = "catalog_20"
)

func NewType

func NewType(t string) Type

func (Type) String

func (t Type) String() string

func (Type) Valid

func (t Type) Valid() bool

func (Type) ValidGamesCount

func (t Type) ValidGamesCount(n int) bool

Jump to

Keyboard shortcuts

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