Documentation
¶
Index ¶
- func CreateCharacter(character rpg.Character, tableName string, client *airtable.Client) (string, error)
- func CreateEncounter(jsonPath, monsterJsonRootPath string, monsterData []string)
- func GetAirtableCharacters(conf config.Values, conn *airtable.Client) []rpg.Character
- func GetAirtableItems(conf config.Values, conn *airtable.Client) []rpg.Item
- func OpenConnection(apiKey, baseID string) (*airtable.Client, error)
- func RunEncounter(jsonPath, directive string, conf config.Values, conn *airtable.Client)
- func UpdateCharacterByID(id string, fields map[string]interface{}, tableName string, ...) error
- func UpdateItemByID(id string, fields map[string]interface{}, tableName string, ...) error
- type AirtableCharacter
- type AirtableEncounter
- type AirtableItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCharacter ¶
func CreateEncounter ¶
func GetAirtableCharacters ¶
func OpenConnection ¶
func RunEncounter ¶
func UpdateCharacterByID ¶
Types ¶
type AirtableCharacter ¶
type AirtableEncounter ¶
type AirtableItem ¶
type AirtableItem struct { AirtableID string `json:"id,omitempty"` Fields rpg.Item `json:"fields"` }
func GetAirtableItemsWithIDs ¶
func GetAirtableItemsWithIDs(conf config.Values, conn *airtable.Client) []AirtableItem
Click to show internal directories.
Click to hide internal directories.