Skip to content

Commit

Permalink
Corrected many minor typos (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
voscob authored Nov 17, 2022
1 parent 9f15845 commit 1885fc8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.3.1
with:
version: v1.46.2
version: v1.50.1
9 changes: 3 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
run:
go: '1.18'

linters-settings:
gofmt:
simplify: false
Expand All @@ -25,7 +22,7 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
# - deadcode
# - depguard
- dogsled
- durationcheck
Expand Down Expand Up @@ -72,7 +69,7 @@ linters:
- predeclared
- rowserrcheck
- staticcheck
- structcheck
# - structcheck
- stylecheck
- sqlclosecheck
# - tagliatelle
Expand All @@ -83,7 +80,7 @@ linters:
- unconvert
# - unparam
- unused
- varcheck
# - varcheck
- wastedassign
- whitespace
# - wrapcheck
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
go test $(GOTEST_FLAGS) -count=1 -race ./...

lint:
golangci-lint run -c .golangci.yml --go=1.18
golangci-lint run -c .golangci.yml

dep:
go mod download
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Connector uses [Golang SQL database driver](https://github.com/ClickHouse/clickh
## Prerequisites

- [Go](https://go.dev/) 1.18
- (optional) [golangci-lint](https://github.com/golangci/golangci-lint) 1.49.0
- (optional) [golangci-lint](https://github.com/golangci/golangci-lint) 1.50.1

## How to build it

Expand Down
2 changes: 1 addition & 1 deletion config/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestParseSource(t *testing.T) {
},
},
{
name: "success_columns_has_one_key",
name: "success_columns_has_two_keys",
in: map[string]string{
URL: testURL,
Table: testTable,
Expand Down
2 changes: 1 addition & 1 deletion destination/destination.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (d *Destination) Parameters() map[string]sdk.Parameter {
config.KeyColumns: {
Default: "",
Required: false,
Description: "Comma-separated list of column names for key handling. ",
Description: "Comma-separated list of column names for key handling.",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Specification() sdk.Specification {
Name: "clickhouse",
Summary: "ClickHouse destination plugin for Conduit, written in Go.",
Description: "ClickHouse connector is one of Conduit plugins. " +
"It provides a destination ClickHouse connector.",
"It provides both, a Source and a Destination ClickHouse connectors.",
Version: version,
Author: "Meroxa, Inc. & Yalantis",
}
Expand Down

0 comments on commit 1885fc8

Please sign in to comment.