Created
February 8, 2022 12:11
-
-
Save asim/f9dcb86b71e9726e881d24191b6100d8 to your computer and use it in GitHub Desktop.
Revisions
-
asim created this gist
Feb 8, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ 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) }