Skip to content

Commit

Permalink
Remove duplicated YODB inteface #46
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yomo committed Sep 4, 2020
1 parent 403117d commit b81babd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
5 changes: 0 additions & 5 deletions templates/yo_db.go.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// YODB is the common interface for database operations.
type YODB interface {
YORODB
}

// YORODB is the common interface for database operations.
type YORODB interface {
ReadRow(ctx context.Context, table string, key spanner.Key, columns []string) (*spanner.Row, error)
Expand Down
Loading

0 comments on commit b81babd

Please sign in to comment.