Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

設定ファイルへの外部ファイルの埋め込み #265

Open
yamamoto-febc opened this issue Jan 21, 2022 · 1 comment
Open

設定ファイルへの外部ファイルの埋め込み #265

yamamoto-febc opened this issue Jan 21, 2022 · 1 comment

Comments

@yamamoto-febc
Copy link
Member

現在は一部の項目において文字列 or ファイルパスを指定可能となっている。

参考:

// StringOrFilePath 文字列 or ファイルパス
//
// ファイルパスを指定した場合、ファイルのデータがメモリ内に保持されるため、
// サイズが大きくなるケースでは利用しないようにする
type StringOrFilePath string

この方法だと #261 の例のような長い文字列で部分的にファイルのインクルードを行いたいケースに対応できない。

@yamamoto-febc yamamoto-febc added this to the v0.4.0 milestone Jan 25, 2022
@yamamoto-febc
Copy link
Member Author

#274 との整合性を検討する必要がある。
一旦v0.4からは外し改めて検討とする。

@yamamoto-febc yamamoto-febc removed this from the v0.4.0 milestone Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant