From b1fcfce18891313e6a3ad07858074ad572c9e55d Mon Sep 17 00:00:00 2001 From: dudaodong Date: Fri, 19 May 2023 11:42:29 +0800 Subject: [PATCH] doc: add go playground demo --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c23abd6..c8d62a3 100644 --- a/README.md +++ b/README.md @@ -1211,6 +1211,7 @@ import "github.com/duke-git/lancet/v2/stream" [[play](https://go.dev/play/p/9xEf0-6C1e3)] - **FindLast** : returns the last element of this stream and true, or zero value and false if the stream is empty. [[doc](https://github.com/duke-git/lancet/blob/main/docs/stream.md#FindLast)] + [[play](https://go.dev/play/p/WZD2rDAW-2h)] - **Max** : returns the maximum element of this stream according to the provided less function. less fuction: a > b [[doc](https://github.com/duke-git/lancet/blob/main/docs/stream.md#Max)] [[play](https://go.dev/play/p/fm-1KOPtGzn)]