Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseFlagsCheckI18nResult ¶
DatabaseFlagsCheckI18nResult holds the counts and any inconsistencies
func DatabaseFlagsCheckI18nConsistency ¶
func DatabaseFlagsCheckI18nConsistency( ctx context.Context, dbPool *pgxpool.Pool, flagTable, topicTable string, languages []string, ) (*DatabaseFlagsCheckI18nResult, error)
DatabaseFlagsCheckI18nConsistency checks that all flags have the expected languages and that their topic_id exists in the topic table. Returns counts of unique topics, flags, and any inconsistencies.
Click to show internal directories.
Click to hide internal directories.