# go-stream **Repository Path**: dragons96/stream ## Basic Information - **Project Name**: go-stream - **Description**: Go 实现的类似 Java 的 Stream - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-01 - **Last Updated**: 2022-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Go Stream #### Writing code the same as java stream. ### Optional example: ```go import ( "optional" "fmt" ) func TestOptional(t *testing.T) { // false fmt.println(optional.Of(1, nil).filter(func(v int) bool { return v % 2 == 0 }).isPresent()) } ```