go get github.com/nanakura/go-ramda@latest
package main
import (
"fmt"
"github.com/nanakura/go-ramda"
)
func main() {
fmt.Println(ramda.Map(ramda.Multiply(2))([]int{2, 5, 10, 100})) // [4 10 20 200]
}
MIT
go get github.com/nanakura/go-ramda@latest
package main
import (
"fmt"
"github.com/nanakura/go-ramda"
)
func main() {
fmt.Println(ramda.Map(ramda.Multiply(2))([]int{2, 5, 10, 100})) // [4 10 20 200]
}
MIT