🎉 start the project

This commit is contained in:
loveuer
2024-03-29 18:05:09 +08:00
commit 96844d25d6
18 changed files with 403 additions and 0 deletions

9
interfaces/input.go Normal file
View 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
View File

@ -0,0 +1 @@
package interfaces

1
interfaces/pipe.go Normal file
View File

@ -0,0 +1 @@
package interfaces