Created
February 8, 2022 12:11
-
-
Save asim/f9dcb86b71e9726e881d24191b6100d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Db interface { | |
Count(*CountRequest) (*CountResponse, error) | |
Create(*CreateRequest) (*CreateResponse, error) | |
Delete(*DeleteRequest) (*DeleteResponse, error) | |
DropTable(*DropTableRequest) (*DropTableResponse, error) | |
ListTables(*ListTablesRequest) (*ListTablesResponse, error) | |
Read(*ReadRequest) (*ReadResponse, error) | |
RenameTable(*RenameTableRequest) (*RenameTableResponse, error) | |
Truncate(*TruncateRequest) (*TruncateResponse, error) | |
Update(*UpdateRequest) (*UpdateResponse, error) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment