LCOV - code coverage report
Current view: top level - usecase/i18n - get_message_interactor.go Coverage Total Hit
Test: coverage.lcov Lines: 0.0 % 4 0
Test Date: 2026-04-14 06:42:22 Functions: - 0 0

            Line data    Source code
       1              : // Package i18n は i18n(多言語化)関連のユースケースを提供します。
       2              : package i18n
       3              : 
       4              : import "context"
       5              : 
       6              : // GetMessage は単一キーの翻訳を取得します。
       7              : // Translator 経由でキャッシュを参照し、該当キーが存在する場合は文字列を返します。
       8            0 : func (uc *Interactor) GetMessage(ctx context.Context, in GetMessageInput) (GetMessageOutput, error) {
       9            0 :         txt, ok := uc.tr.Translate(in.Locale, in.Key)
      10            0 :         return GetMessageOutput{Text: txt, OK: ok}, nil
      11            0 : }
        

Generated by: LCOV version 2.3.1-1