Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestConfig = struct { EnvKeyLocalstackEndpoint string EnvKeyBattleTableName string EnvKeyGameTableName string EnvKeyMonsterTableName string }{ EnvKeyLocalstackEndpoint: "LOCALSTACK_ENDPOINT", EnvKeyBattleTableName: "DDB_TABLE_BATTLE_NAME", EnvKeyGameTableName: "DDB_TABLE_GAME_NAME", EnvKeyMonsterTableName: "DDB_TABLE_MONSTER_NAME", }
Functions ¶
func NewLocalTestDDBClient ¶
Types ¶
type BattleStatsRow ¶
type MonsterRow ¶
type MonsterRow struct { ID string `dynamodbav:"id"` Name string `dynamodbav:"name"` BattleStats BattleStatsRow `dynamodbav:"battle_stats"` AvatarURL string `dynamodbav:"avatar_url"` IsPartnerable int `dynamodbav:"is_partnerable"` }
func ToMonsterRow ¶
func ToMonsterRow(m entity.Monster) MonsterRow
func (MonsterRow) ToMonster ¶
func (r MonsterRow) ToMonster() *entity.Monster
Click to show internal directories.
Click to hide internal directories.