Documentation ¶
Overview ¶
Package action is a generated GoMock package.
Index ¶
- Variables
- func NewAVShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewBattleChimpoShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewBlueArchiveEcchiGameShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewChimpoChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewChimpoInsertionChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewChimpoMatchingShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewDB(environment config.Environment) service.Action
- func NewDoublet(repository repository.DoubletRepository, environment config.Environment) service.Action
- func NewLawChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewMpyw(c client.Mpyw, environment config.Environment) service.Action
- func NewOfufutonChallenge(r Random, environment config.Environment) service.Action
- func NewOfutonManagerShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewPyuUpdate(environment config.Environment) service.Action
- func NewPyuppyuManagerShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewSushiShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
- func NewThrough(repository repository.ThroughRepository, environment config.Environment) service.Action
- type MockRandom
- type MockRandomMockRecorder
- type OfutonRule
- type Random
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ofuton = []string{"お", "ふ", "と", "ん"} OfutonRegex = regexp.MustCompile(`ふとん[チチ][ャャ][レレ][ンン](ジ|ジ)`) )
View Source
var ( OfutonManagerRegex = regexp.MustCompile(`ふとん(し|(入|はい|い|行|潜|もぐ)っ)ても?[いよ良]い[??]`) OfutonRules = []OfutonRule{ {"しこしこして", "もふもふさせて"}, {"しこしこ", "もふもふ"}, {"しゅっしゅ", "もふもふ"}, {"ぴゅっぴゅって", "もふもふって"}, {"ぴゅっぴゅ", "おふとん"}, {"いじるの", "おふとん"}, {"おちんちん", "おふとん"}, {"ちんちん", "おふとん"}, {"出せる", "もふもふできる"}, {"出し", "もふもふし"}, {"手の平に", "朝まで"}, } )
View Source
var ( SushiRegex = regexp.MustCompile(`(🍣|寿司|すし|ちん(ちん|ぽ|こ))(握|にぎ)`) SushiEmojis = map[string]bool{ "thinking_sushi": true, "ios_big_sushi_1": true, "ios_big_sushi_2": true, "ios_big_sushi_3": true, "ios_big_sushi_4": true, "top_left_sushi": true, "top_center_sushi": true, "top_right_sushi": true, "middle_left_sushi": true, "middle_right_sushi": true, "bottom_left_sushi": true, "bottom_center_sushi": true, "bottom_right_sushi": true, } )
View Source
var (
AVRegex = regexp.MustCompile(`([\p{L}\p{N}\p{Zs}]+?)\s*(?:くん|ちゃん)?の\s*(AV)\b`)
)
View Source
var (
BattleChimpoRegex = regexp.MustCompile(`ちん(ちん|ぽ|こ)(なん[かぞ])?に([勝か][たちつてと]|[負ま][かきくけこ])`)
)
View Source
var (
BlueArchiveEcchiGameRegex = regexp.MustCompile(`((ブ|ブ)[ルル][アア][カカ]|(ブ|ブ)[ルル][ーー][アア][ーー][カカ][イイ](ブ|ブ))は?(えっ?ち|[エエ][ッッ]?[チチ])`)
)
View Source
var (
ChimpoChallengeRegex = regexp.MustCompile(`ちん(ちん|ぽ|こ)[チチ][ャャ][レレ][ンン](ジ|ジ)`)
)
View Source
var (
ChimpoInsertionChallengeRegex = regexp.MustCompile(`ちん(ちん|ぽ|こ)挿入[チチ][ャャ][レレ][ンン](ジ|ジ)`)
)
View Source
var (
ChimpoMatchingRegex = regexp.MustCompile(`ちん(ちん|ぽ|こ)(揃|そろ)え`)
)
View Source
var (
DBRegex = regexp.MustCompile(`^SQL:\s?(.+)`)
)
View Source
var (
DoubletRegex = regexp.MustCompile(`今日の\s*(?:doublet|二重語)|(?:\s*(\d+)\s*連\s*)?(?:doublet|二重語)\s*(?:が|ガ|ガ)[チチ][ャャ]`)
)
View Source
var (
LawChallengeRegex = regexp.MustCompile(`法律((ギ|ギ)[リリ](ギ|ギ)[リリ])?[チチ][ャャ][レレ][ンン](ジ|ジ)`)
)
View Source
var (
MpywRegex = regexp.MustCompile(`(?:mpyw\s*|まっぴー|実務経験)(?:\s*(\d+)\s*連)?(?:が|ガ|ガ)[チチ][ャャ]`)
)
View Source
var (
PyuUpdateRegex = regexp.MustCompile(`^ぴゅっ♡+$`)
)
View Source
var (
PyuppyuManagerRegex = regexp.MustCompile(`ぴゅっぴゅしても?[いよ良]い[??]`)
)
View Source
var (
ThroughRegex = regexp.MustCompile(`(?:\s*(\d+)\s*連)?駿河茶|今日の\s*through|through\s*(?:が|ガ|ガ)[チチ][ャャ]`)
)
Functions ¶
func NewAVShindanmaker ¶
func NewAVShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewBattleChimpoShindanmaker ¶
func NewBattleChimpoShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewBlueArchiveEcchiGameShindanmaker ¶
func NewBlueArchiveEcchiGameShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewChimpoChallengeShindanmaker ¶
func NewChimpoChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewChimpoInsertionChallengeShindanmaker ¶
func NewChimpoInsertionChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewChimpoMatchingShindanmaker ¶
func NewChimpoMatchingShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewDoublet ¶
func NewDoublet(repository repository.DoubletRepository, environment config.Environment) service.Action
func NewLawChallengeShindanmaker ¶
func NewLawChallengeShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewOfufutonChallenge ¶
func NewOfufutonChallenge(r Random, environment config.Environment) service.Action
func NewOfutonManagerShindanmaker ¶
func NewOfutonManagerShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewPyuUpdate ¶
func NewPyuUpdate(environment config.Environment) service.Action
func NewPyuppyuManagerShindanmaker ¶
func NewPyuppyuManagerShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewSushiShindanmaker ¶
func NewSushiShindanmaker(c client.Shindanmaker, environment config.Environment) service.Action
func NewThrough ¶
func NewThrough(repository repository.ThroughRepository, environment config.Environment) service.Action
Types ¶
type MockRandom ¶
type MockRandom struct {
// contains filtered or unexported fields
}
MockRandom is a mock of Random interface.
func NewMockRandom ¶
func NewMockRandom(ctrl *gomock.Controller) *MockRandom
NewMockRandom creates a new mock instance.
func (*MockRandom) EXPECT ¶
func (m *MockRandom) EXPECT() *MockRandomMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRandomMockRecorder ¶
type MockRandomMockRecorder struct {
// contains filtered or unexported fields
}
MockRandomMockRecorder is the mock recorder for MockRandom.
type OfutonRule ¶
Source Files ¶
- av_shindanmaker.go
- battle_chimpo_shindanmaker.go
- blue_archive_ecchi_game_shindanmaker.go
- chimpo_challenge_shindanmaker.go
- chimpo_insertion_challenge_shindanmaker.go
- chimpo_matching_shindanmaker.go
- db.go
- doublet.go
- law_challenge_shindanmaker.go
- mpyw.go
- ofuton_challenge.go
- ofuton_manager_shindanmaker.go
- pyu_update.go
- pyuppyu_manager_shindanmaker.go
- random.go
- random_mock.go
- sushi_shindanmaker.go
- through.go
Click to show internal directories.
Click to hide internal directories.