func (m *Basic) Buttons(card *model.Card, face int) (studyview.ButtonMap, error) {
	key := buttonsKey(card, face)
	buttons, ok := buttonMaps[key]
	if !ok {
		return nil, errors.Errorf("Invalid face %d", face)
	}
	return buttons, nil
}
// Buttons returns the initial button state
Buttons returns the initial button state
// Buttons returns the initial button state
func (m *Basic) Buttons(card *model.Card, face int) (studyview.ButtonMap, error) {
	key := buttonsKey(card, face)
	buttons, ok := buttonMaps[key]
	if !ok {
		return nil, errors.Errorf("Invalid face %d", face)
	}
	return buttons, nil
}
func ( m * Basic ) Buttons ( card * model . Card , face int ) ( studyview . ButtonMap , error ) { key := buttonsKey ( card , face ) buttons , ok := buttonMaps [ key ] if ! ok { return nil , errors . Errorf ( " " , face ) } return buttons , nil }
Buttons returns the initial button state
Buttons returns the initial button state