Skip to content

Commit

Permalink
Merge pull request #53 from xataio/rs/client-typo
Browse files Browse the repository at this point in the history
Fix typo, clint -> client
  • Loading branch information
philkra authored Jan 12, 2024
2 parents aabbca1 + db40079 commit 8a8476d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xata/databases_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (d databaseCli) Rename(ctx context.Context, request RenameDatabaseRequest)
)
}

// NewDatabasesClient constructs a client for interacting databases.
// NewDatabasesClient constructs a client for interacting with databases.
func NewDatabasesClient(opts ...ClientOption) (DatabasesClient, error) {
cliOpts, err := consolidateClientOptionsForCore(opts...)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion xata/records_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func constructRecord(in map[string]interface{}) (*Record, error) {
return &record, nil
}

// NewRecordsClient constructs a clint for interacting with records.
// NewRecordsClient constructs a client for interacting with records.
func NewRecordsClient(opts ...ClientOption) (RecordsClient, error) {
cliOpts, dbCfg, err := consolidateClientOptionsForWorkspace(opts...)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion xata/table_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (t tableClient) GetColumns(ctx context.Context, request TableRequest) (*xat
return t.generated.GetTableColumns(ctx, t.dbBranchName(request), request.TableName)
}

// NewTableClient constructs a client for interacting tables.
// NewTableClient constructs a client for interacting with tables.
func NewTableClient(opts ...ClientOption) (TableClient, error) {
cliOpts, dbCfg, err := consolidateClientOptionsForWorkspace(opts...)
if err != nil {
Expand Down

0 comments on commit 8a8476d

Please sign in to comment.