Skip to content

dimaq12/flowGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlowGo

FlowGo is a reactive framework for Go, focused on type-safe, composable data streams.
It brings modern functional and streaming concepts into the Go ecosystem — including maps, filters, flatMaps, side effects, and more.

🔧 Example

flow := flowgo.NewFlowFrom(func(ctx context.Context, out chan<- int) error {
    for i := 0; i < 5; i++ {
        out <- i
    }
    return nil
})

flow.
    Filter(func(n int) bool { return n%2 == 0 }).
    Map(func(n int) string { return fmt.Sprintf("Even: %d", n) }).
    Tap(func(s string) { fmt.Println("Tapped:", s) }).
    ForEach(func(s string) { fmt.Println("Final:", s) })

📚 Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages