Go snippet: iferp