Skip to content

WilliamJohnathonLea/go-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Streams

unit-tests Actions Status

Easily build streamed operations in Go.

Example stream

pub := NewSlicePublisher([]int{0, 1, 2})
flow := MapFlow(func(i int) string {
	return fmt.Sprint(i)
})
sub := NewSliceSubscriber[string]()

pub.Connect(flow)
flow.Connect(sub)

stream := New(pub, flow, sub)
stream.Run()

Built in Publishers

  • SlicePublisher
  • more to come...

Built in Subscribers

  • SliceSubscriber
  • more to come...

About

Easily build streamed operations in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages