Documentation
¶
Index ¶
- Variables
- func DiscussionReplyTranslation() (*model.DiscussionReplyTranslation, error)
- func ExistingModelLinkTranslation() (*model.ExistingModelLinkTranslation, error)
- func IddocQuestionnaireTranslation() (*model.IddocQuestionnaireTranslation, error)
- func KeyContactCategoryTranslation() (*model.KeyContactCategoryTranslation, error)
- func KeyContactTranslation() (*model.KeyContactTranslation, error)
- func MTOCategoryTranslation() (*model.MTOCategoryTranslation, error)
- func MTOCommonSolutionContactTranslation() (*model.MTOCommonSolutionContactTranslation, error)
- func MTOCommonSolutionContractorTranslation() (*model.MTOCommonSolutionContractorTranslation, error)
- func MTOInfoTranslation() (*model.MTOInfoTranslation, error)
- func MTOMilestoneNoteTranslation() (*model.MTOMilestoneNoteTranslation, error)
- func MTOMilestoneSolutionLinkTranslation() (*model.MTOMilestoneSolutionLinkTranslation, error)
- func MTOMilestoneTranslation() (*model.MTOMilestoneTranslation, error)
- func MTOSolutionTranslation() (*model.MTOSolutionTranslation, error)
- func ModelPlanMTOTemplateLinkTranslation() (*model.ModelPlanMTOTemplateLinkTranslation, error)
- func ModelPlanTranslation() (*model.ModelPlanTranslation, error)
- func OperationalNeedTranslation() (*model.OperationalNeedTranslation, error)
- func OperationalSolutionSubtaskTranslation() (*model.OperationalSolutionSubtaskTranslation, error)
- func OperationalSolutionTranslation() (*model.OperationalSolutionTranslation, error)
- func PlanBasicsTranslation() (*model.PlanBasicsTranslation, error)
- func PlanBeneficiariesTranslation() (*model.PlanBeneficiariesTranslation, error)
- func PlanCRTranslation() (*model.PlanCRTranslation, error)
- func PlanCollaboratorTranslation() (*model.PlanCollaboratorTranslation, error)
- func PlanDataExchangeApproachTranslation() (*model.PlanDataExchangeApproachTranslation, error)
- func PlanDiscussionTranslation() (*model.PlanDiscussionTranslation, error)
- func PlanDocumentSolutionLinkTranslation() (*model.PlanDocumentSolutionLinkTranslation, error)
- func PlanDocumentTranslation() (*model.PlanDocumentTranslation, error)
- func PlanGeneralCharacteristicsTranslation() (*model.PlanGeneralCharacteristicsTranslation, error)
- func PlanOpsEvalAndLearningTranslation() (*model.PlanOpsEvalAndLearningTranslation, error)
- func PlanParticipantsAndProvidersTranslation() (*model.PlanParticipantsAndProvidersTranslation, error)
- func PlanPaymentsTranslation() (*model.PlanPaymentsTranslation, error)
- func PlanTDLTranslation() (*model.PlanTDLTranslation, error)
- func PlanTimelineTranslation() (*model.PlanTimelineTranslation, error)
- func TranslateTableName(tableName models.TableName) (models.EnumTranslation, bool)
- type Translation
- type UnknownTranslation
Constants ¶
This section is empty.
Variables ¶
var ExistingModelLinkTranslationJSON []byte
var PlanDocumentSolutionLinkTranslationJSON []byte
var TableNamesTranslationMap = tableNamesTranslationMapFunc()
Functions ¶
func DiscussionReplyTranslation ¶
func DiscussionReplyTranslation() (*model.DiscussionReplyTranslation, error)
DiscussionReplyTranslation Provides the translation for Plan Discussion
func ExistingModelLinkTranslation ¶
func ExistingModelLinkTranslation() (*model.ExistingModelLinkTranslation, error)
func IddocQuestionnaireTranslation ¶
func IddocQuestionnaireTranslation() (*model.IddocQuestionnaireTranslation, error)
IddocQuestionnaireTranslation provides the translation for IDDOC questionnaire
func KeyContactCategoryTranslation ¶
func KeyContactCategoryTranslation() (*model.KeyContactCategoryTranslation, error)
KeyContactCategoryTranslation Provides the translation for key contact categories
func KeyContactTranslation ¶
func KeyContactTranslation() (*model.KeyContactTranslation, error)
KeyContactTranslation Provides the translation for key contacts
func MTOCategoryTranslation ¶
func MTOCategoryTranslation() (*model.MTOCategoryTranslation, error)
MTOCategoryTranslation Provides the translation for MTO Category
func MTOCommonSolutionContactTranslation ¶
func MTOCommonSolutionContactTranslation() (*model.MTOCommonSolutionContactTranslation, error)
MTOCommonSolutionContactTranslation Provides the translation for MTO common solution contacts
func MTOCommonSolutionContractorTranslation ¶
func MTOCommonSolutionContractorTranslation() (*model.MTOCommonSolutionContractorTranslation, error)
MTOCommonSolutionContractorTranslation Provides the translation for MTO common solution contractors
func MTOInfoTranslation ¶
func MTOInfoTranslation() (*model.MTOInfoTranslation, error)
MTOInfoTranslation Provides the translation for MTO Info
func MTOMilestoneNoteTranslation ¶
func MTOMilestoneNoteTranslation() (*model.MTOMilestoneNoteTranslation, error)
MTOMilestoneNoteTranslation Provides the translation for MTO Milestone Note
func MTOMilestoneSolutionLinkTranslation ¶
func MTOMilestoneSolutionLinkTranslation() (*model.MTOMilestoneSolutionLinkTranslation, error)
MTOMilestoneSolutionLinkTranslation Provides the translation for MTO Milestone Solution Link
func MTOMilestoneTranslation ¶
func MTOMilestoneTranslation() (*model.MTOMilestoneTranslation, error)
MTOMilestoneTranslation Provides the translation for MTO Milestone
func MTOSolutionTranslation ¶
func MTOSolutionTranslation() (*model.MTOSolutionTranslation, error)
MTOSolutionTranslation Provides the translation for MTO Solution
func ModelPlanMTOTemplateLinkTranslation ¶
func ModelPlanMTOTemplateLinkTranslation() (*model.ModelPlanMTOTemplateLinkTranslation, error)
ModelPlanMTOTemplateLinkTranslation Provides the translation for Model Plan MTO Template Link
func ModelPlanTranslation ¶
func ModelPlanTranslation() (*model.ModelPlanTranslation, error)
func OperationalNeedTranslation ¶
func OperationalNeedTranslation() (*model.OperationalNeedTranslation, error)
func OperationalSolutionSubtaskTranslation ¶
func OperationalSolutionSubtaskTranslation() (*model.OperationalSolutionSubtaskTranslation, error)
func OperationalSolutionTranslation ¶
func OperationalSolutionTranslation() (*model.OperationalSolutionTranslation, error)
func PlanBasicsTranslation ¶
func PlanBasicsTranslation() (*model.PlanBasicsTranslation, error)
PlanBasicsTranslation Provides the translation for Plan basics
func PlanBeneficiariesTranslation ¶
func PlanBeneficiariesTranslation() (*model.PlanBeneficiariesTranslation, error)
func PlanCRTranslation ¶
func PlanCRTranslation() (*model.PlanCRTranslation, error)
PlanCRTranslation Provides the translation for Plan CR
func PlanCollaboratorTranslation ¶
func PlanCollaboratorTranslation() (*model.PlanCollaboratorTranslation, error)
func PlanDataExchangeApproachTranslation ¶
func PlanDataExchangeApproachTranslation() (*model.PlanDataExchangeApproachTranslation, error)
PlanDataExchangeApproachTranslation reads the json embedded file and renders it as a useable translation file
func PlanDiscussionTranslation ¶
func PlanDiscussionTranslation() (*model.PlanDiscussionTranslation, error)
PlanDiscussionTranslation Provides the translation for Plan Discussion
func PlanDocumentSolutionLinkTranslation ¶
func PlanDocumentSolutionLinkTranslation() (*model.PlanDocumentSolutionLinkTranslation, error)
func PlanDocumentTranslation ¶
func PlanDocumentTranslation() (*model.PlanDocumentTranslation, error)
PlanDocumentTranslation reads the json embedded file and renders it as a useable translation file
func PlanGeneralCharacteristicsTranslation ¶
func PlanGeneralCharacteristicsTranslation() (*model.PlanGeneralCharacteristicsTranslation, error)
func PlanOpsEvalAndLearningTranslation ¶
func PlanOpsEvalAndLearningTranslation() (*model.PlanOpsEvalAndLearningTranslation, error)
func PlanParticipantsAndProvidersTranslation ¶
func PlanParticipantsAndProvidersTranslation() (*model.PlanParticipantsAndProvidersTranslation, error)
PlanParticipantsAndProvidersTranslation Provides the translation for Participants and Providers
func PlanPaymentsTranslation ¶
func PlanPaymentsTranslation() (*model.PlanPaymentsTranslation, error)
func PlanTDLTranslation ¶
func PlanTDLTranslation() (*model.PlanTDLTranslation, error)
PlanTDLTranslation Provides the translation for Plan CR
func PlanTimelineTranslation ¶
func PlanTimelineTranslation() (*model.PlanTimelineTranslation, error)
PlanTimelineTranslation Provides the translation for Timeline
func TranslateTableName ¶
func TranslateTableName(tableName models.TableName) (models.EnumTranslation, bool)
TranslateTableName will return a Translation for a table name
Types ¶
type Translation ¶
type Translation interface {
TableName() models.TableName
ToMap() (map[string]models.ITranslationField, error)
}
Translation defines the signature every translation is expected to have
func GetTranslation ¶
func GetTranslation(tableName models.TableName) (Translation, error)
GetTranslation allows programmatic access to return a translation for a given table name
type UnknownTranslation ¶
type UnknownTranslation struct {
// contains filtered or unexported fields
}
UnknownTranslation is the default translation returned when there isn't a translation. This effectively just lets the raw data be returned in liu of a translation
func (*UnknownTranslation) TableName ¶
func (ut *UnknownTranslation) TableName() string
TableName returns the table name for this translation, satisfying the Translation interface
func (*UnknownTranslation) ToMap ¶
func (ut *UnknownTranslation) ToMap() (map[string]models.ITranslationField, error)
ToMap translates this translation to a map, satisfying the Translation interface
Source Files
¶
- discussion_reply_translation.go
- existing_model_link_translation.go
- iddoc_questionnaire_translation.go
- key_contact_category_translation.go
- key_contact_translation.go
- model_plan_translation.go
- mto_category_translation.go
- mto_common_solution_contact_translation.go
- mto_common_solution_contractor_translation.go
- mto_info_translation.go
- mto_milestone_note_translation.go
- mto_milestone_solution_link_translation.go
- mto_milestone_translation.go
- mto_model_plan_template_link_translation.go
- mto_solution_translation.go
- operational_need_translation.go
- operational_solution_subtask_translation.go
- operational_solution_translation.go
- plan_basics_translation.go
- plan_beneficiaries_translation.go
- plan_collaborator_translation.go
- plan_cr_translation.go
- plan_data_exchange_approach_translation.go
- plan_discussion_translation.go
- plan_document_solution_link_translation.go
- plan_document_translation.go
- plan_general_characteristics_translation.go
- plan_ops_eval_and_learning_translation.go
- plan_participants_and_providers_translations.go
- plan_payments_translation.go
- plan_tdl_translation.go
- plan_timeline_translation.go
- table_name_enum_translation.go
- translation_interface.go
- translation_test_utilities.go
- translation_utilities.go