Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
問題は、ビューファイルに要素さえ表示できないことです。ビューファイルに次のコードがあります。
{{範囲 $i、$ストリーム := .d}} {{if $i % 2 == 0}} {{$stream.Channel.Status}} {{終わり}} {{終わり}}
私が読んだドキュメントから、「ifでは条件式を使用できません。ブール値のみが受け入れられます。」
では、どうすれば実装できますか?
前もって感謝します