add newline

This commit is contained in:
a 2022-03-26 20:58:15 -05:00
parent e39e08a8b9
commit cb0654e59b
1 changed files with 2 additions and 0 deletions

View File

@ -24,11 +24,13 @@ example: adding some numbers
``` ```
package main package main
import ( import (
"log" "log"
"git.tuxpa.in/a/lambda" "git.tuxpa.in/a/lambda"
) )
func main(){ func main(){
arr := []int{1, 2, 3, 4, 6, 5} arr := []int{1, 2, 3, 4, 6, 5}
ans := lambda.Map(arr, func(x int) int { return x + 4 }) ans := lambda.Map(arr, func(x int) int { return x + 4 })