From 4dfafc7efb503e26f6d3233c0e519efcd1606959 Mon Sep 17 00:00:00 2001 From: Florent Messa Date: Mon, 9 Mar 2020 16:49:07 +0100 Subject: [PATCH] chore: bump CI --- .travis.yml | 2 +- README.rst | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0caa9d2..dbc0f72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,5 @@ before_install: - go get golang.org/x/tools/cmd/cover - go get github.com/stretchr/testify go: - - "1.13" + - "1.14" script: make test diff --git a/README.rst b/README.rst index 2c3dfb7..0321864 100644 --- a/README.rst +++ b/README.rst @@ -375,11 +375,12 @@ Retrieves the value at path of struct(s). funk.GetOrElse -......... +.............. Retrieves the value of the pointer or default. .. code-block:: go + str := "hello world" GetOrElse(&str, "foobar") // string{"hello world"} GetOrElse(str, "foobar") // string{"hello world"} @@ -539,7 +540,7 @@ see also, typesafe implementations: ShuffleInt_, ShuffleInt64_, ShuffleFloat32_, .. _ShuffleString: https://godoc.org/github.com/thoas/go-funk#ShuffleString funk.Subtract -............ +............. Returns the subtraction between two collections. It preserve order.