button

package
v0.0.0-...-70f22cf Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartIdButton     = `start`
	NextIdButton      = `next`
	SurrenderIdButton = `surrender`
	ReturnIdButton    = `return`
	IrregularIdButton = `irregular`
	TopicsIdButton    = `topics`
	ProgressIdButton  = `progress`
	TipIdButton       = `tip`

	TextButtonType      button.Type = `text`
	NextLabel           button.Text = `ещё слово`
	ReturnLabel         button.Text = `назад`
	GetAnswerLabel      button.Text = `не знаю`
	IrregularVerbsLabel button.Text = `неправильные глаголы`
	TopicsLabel         button.Text = `темы`
	ProgressLabel       button.Text = `прогресс`
	TipLabel            button.Text = `подсказка`
)

Variables

This section is empty.

Functions

func ModeChoose

func ModeChoose() [][]button.Button

func NextWithReturn

func NextWithReturn(topicId string) [][]button.Button

func NextWithReturnAndProgress

func NextWithReturnAndProgress(topicId string) [][]button.Button

func Return

func Return() [][]button.Button

func ReturnWithProgress

func ReturnWithProgress(topicId string) [][]button.Button

func ReturnWithTopicCouples

func ReturnWithTopicCouples(topics []domain2.Topic) [][]button.Button

func SurrenderAndReturn

func SurrenderAndReturn(taskId string) [][]button.Button

func SurrenderAndReturnWithTip

func SurrenderAndReturnWithTip(taskId string) [][]button.Button

Types

This section is empty.

Jump to

Keyboard shortcuts

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