Skip to content

Commit 408a09e

Browse files
authored
Updating module name of go-sql to github.com/google/sqlcommenter/go/database/sql (#166)
1 parent 7ba7ca1 commit 408a09e

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/go-sql-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323

2424
- name: Build
2525
run: go build -v ./...
26-
working-directory: ./go/go-sql
26+
working-directory: ./go/database/sql
2727

2828
- name: Test go-sql
2929
run: go test -v ./...
30-
working-directory: ./go/go-sql
30+
working-directory: ./go/database/sql
3131

3232
gofmt:
3333
runs-on: ubuntu-latest
File renamed without changes.

go/go-sql/go-sql.go renamed to go/database/sql/go-sql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package gosql
15+
package sql
1616

1717
import (
1818
"context"

go/go-sql/go-sql_test.go renamed to go/database/sql/go-sql_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package gosql
15+
package sql
1616

1717
import (
1818
"context"

go/go-sql/go.mod renamed to go/database/sql/go.mod

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
module google.com/sqlcommenter/gosql
1+
module github.com/google/sqlcommenter/go/database/sql
22

33
go 1.19
44

5-
require go.opentelemetry.io/otel/sdk v1.10.0
5+
require (
6+
github.com/google/sqlcommenter/go/core v0.0.1-beta
7+
go.opentelemetry.io/otel/sdk v1.10.0
8+
)
69

710
require (
811
github.com/go-logr/logr v1.2.3 // indirect
912
github.com/go-logr/stdr v1.2.2 // indirect
10-
github.com/google/sqlcommenter/go/core v0.0.1-beta // indirect
1113
go.opentelemetry.io/otel v1.10.0 // indirect
1214
golang.org/x/sys v0.0.0-20220927170352-d9d178bc13c6 // indirect
1315
)
File renamed without changes.

0 commit comments

Comments
 (0)