🎉 start the project
This commit is contained in:
9
interfaces/input.go
Normal file
9
interfaces/input.go
Normal file
@ -0,0 +1,9 @@
|
||||
package interfaces
|
||||
|
||||
import "context"
|
||||
|
||||
type Input interface {
|
||||
InitClient(ctx context.Context) error
|
||||
Fetch(ctx context.Context, limit int)
|
||||
Close(ctx context.Context) error
|
||||
}
|
1
interfaces/output.go
Normal file
1
interfaces/output.go
Normal file
@ -0,0 +1 @@
|
||||
package interfaces
|
1
interfaces/pipe.go
Normal file
1
interfaces/pipe.go
Normal file
@ -0,0 +1 @@
|
||||
package interfaces
|
Reference in New Issue
Block a user