| LCOV - code coverage report | ||||||||||||||||||||||
|
||||||||||||||||||||||
Line data Source code 1 : // Package i18n は i18n(多言語化)関連のユースケースを提供します。 2 : package i18n 3 : 4 : import "context" 5 : 6 : // ListBundle は prefix 前方一致で翻訳辞書をまとめて取得します。 7 : // Translator 経由でキャッシュから対応するキー群を抽出します。 8 0 : func (uc *Interactor) ListBundle(ctx context.Context, in ListBundleInput) (ListBundleOutput, error) { 9 0 : data := uc.tr.Bundle(in.Locale, in.Prefix) 10 0 : return ListBundleOutput{Data: data}, nil 11 0 : } |
| Generated by: LCOV version 2.3.1-1 |