Skip to content

Commit 0c16ad9

Browse files
committed
chore: Update sphere dependency and adjust import paths
Upgraded `github.com/go-sphere/sphere` to v0.0.2-beta.2 in `go.mod` and `go.sum`. Updated import path from `sphere/database/sqlite` to `sphere/infra/sqlite` to reflect changes. Renamed references from `sphere` to `sphere-layout` in README for consistency.
1 parent 7ca7bd8 commit 0c16ad9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## About
44

5-
`sphere` is a backend scaffolding designed for rapid development. It leverages `ent` for database schema definition and `gRPC/Protobuf` for API interface contracts. The framework includes a suite of tools for generating code and documentation, such as `Protobuf` files, `Swagger`/`OpenAPI` specifications, and `TypeScript` client libraries.
5+
`sphere-layout` is a backend scaffolding designed for rapid development. It leverages `ent` for database schema definition and `gRPC/Protobuf` for API interface contracts. The framework includes a suite of tools for generating code and documentation, such as `Protobuf` files, `Swagger`/`OpenAPI` specifications, and `TypeScript` client libraries.
66

77

88
## Development Commands

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/go-sphere/entc-extensions v0.0.4-beta.3
1515
github.com/go-sphere/errors v0.0.1
1616
github.com/go-sphere/options v0.0.1
17-
github.com/go-sphere/sphere v0.0.2-beta.1
17+
github.com/go-sphere/sphere v0.0.2-beta.2
1818
github.com/go-sql-driver/mysql v1.9.3
1919
github.com/go-viper/mapstructure/v2 v2.4.0
2020
github.com/google/uuid v1.6.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ github.com/go-sphere/jsoncompressor v0.0.3 h1:Jpdw5vWK5ZDtyd5KQbxvZqOOipgiGW++HC
116116
github.com/go-sphere/jsoncompressor v0.0.3/go.mod h1:VtfZrSqHNlVWsPO+7U/CGEf7JhfMdEqj/ntquQHNlT0=
117117
github.com/go-sphere/options v0.0.1 h1:UmctzcFlkkbpl/AX8zJchZBeCPW01JfbGpkWS+XirGo=
118118
github.com/go-sphere/options v0.0.1/go.mod h1:5UC9Sr5iQFuXZF+AbRi1I64St9K5hgQGefriZdoNf4U=
119-
github.com/go-sphere/sphere v0.0.2-beta.1 h1:oOiQMOcPMI3ZtWXUbCOkmenV0bKQjRd5RsRJi8sf+G4=
120-
github.com/go-sphere/sphere v0.0.2-beta.1/go.mod h1:zDB0W6oLsILZC2Uw+lub87tSq8WCeCEmS/Gnd9uweRE=
119+
github.com/go-sphere/sphere v0.0.2-beta.2 h1:tT7kagEK+xV6h/cj8mX4/6Hzl7XDs+RQWtjtTBTTrg8=
120+
github.com/go-sphere/sphere v0.0.2-beta.2/go.mod h1:zDB0W6oLsILZC2Uw+lub87tSq8WCeCEmS/Gnd9uweRE=
121121
github.com/go-sql-driver/mysql v1.9.3 h1:U/N249h2WzJ3Ukj8SowVFjdtZKfu9vlLZxjPXV1aweo=
122122
github.com/go-sql-driver/mysql v1.9.3/go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU=
123123
github.com/go-telegram/bot v1.17.0 h1:Hs0kGxSj97QFqOQP0zxduY/4tSx8QDzvNI9uVRS+zmY=

internal/pkg/database/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"entgo.io/ent/dialect"
77
"github.com/go-sphere/sphere-layout/internal/pkg/database/ent"
88
"github.com/go-sphere/sphere-layout/internal/pkg/database/ent/migrate"
9-
"github.com/go-sphere/sphere/database/sqlite"
9+
"github.com/go-sphere/sphere/infra/sqlite"
1010
_ "github.com/go-sql-driver/mysql"
1111
)
1212

0 commit comments

Comments
 (0)