dev.golang_filter: template types into function assignments as well