Skip to content

Commit

Permalink
fix: 更新模块路径以统一大小写,确保一致性
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Dec 18, 2024
1 parent c8e9363 commit 09f318e
Show file tree
Hide file tree
Showing 135 changed files with 369 additions and 369 deletions.
2 changes: 1 addition & 1 deletion api/api/v1/auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api/v1/auth_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api/v1/system_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api/v1/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api/v1/user_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/bot/v1/counter_bot.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions api/dash/v1/admin.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/dash/v1/admin_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/dash/v1/auth_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/dash/v1/system_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/dash/v1/task.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/dash/v1/task_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/shared/v1/storage_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions api/shared/v1/test.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/shared/v1/test_sphere.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ managed:
module: buf.build/tbxark/options
override:
- file_option: go_package_prefix
value: github.com/tbxark/sphere/api
value: github.com/TBXark/sphere/api
plugins:
- local: protoc-gen-go
out: api
Expand All @@ -21,10 +21,10 @@ plugins:
- paths=source_relative
- options_key=bot
- gen_file_suffix=_bot.pb.go
- request_model=github.com/tbxark/sphere/pkg/telegram;Update
- response_model=github.com/tbxark/sphere/pkg/telegram;Message
- extra_data_model=github.com/tbxark/sphere/pkg/telegram;MethodExtraData
- extra_data_constructor=github.com/tbxark/sphere/pkg/telegram;NewMethodExtraData
- request_model=github.com/TBXark/sphere/pkg/telegram;Update
- response_model=github.com/TBXark/sphere/pkg/telegram;Message
- extra_data_model=github.com/TBXark/sphere/pkg/telegram;MethodExtraData
- extra_data_constructor=github.com/TBXark/sphere/pkg/telegram;NewMethodExtraData
- local: protoc-gen-sphere
out: api
opt:
Expand Down
8 changes: 4 additions & 4 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package main

import (
"github.com/tbxark/sphere/internal/biz/task"
"github.com/tbxark/sphere/internal/pkg/app"
"github.com/tbxark/sphere/internal/server/api"
"github.com/tbxark/sphere/pkg/utils/boot"
"github.com/TBXark/sphere/internal/biz/task"
"github.com/TBXark/sphere/internal/pkg/app"
"github.com/TBXark/sphere/internal/server/api"
"github.com/TBXark/sphere/pkg/utils/boot"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/api/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
package main

import (
"github.com/TBXark/sphere/internal"
"github.com/TBXark/sphere/internal/config"
"github.com/TBXark/sphere/pkg/utils/boot"
"github.com/google/wire"
"github.com/tbxark/sphere/internal"
"github.com/tbxark/sphere/internal/config"
"github.com/tbxark/sphere/pkg/utils/boot"
)

func NewAPIApplication(conf *config.Config) (*boot.Application, error) {
Expand Down
20 changes: 10 additions & 10 deletions cmd/api/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions cmd/app/main.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package main

import (
"github.com/tbxark/sphere/internal/biz/task"
"github.com/tbxark/sphere/internal/pkg/app"
"github.com/tbxark/sphere/internal/server/api"
"github.com/tbxark/sphere/internal/server/dash"
"github.com/tbxark/sphere/internal/server/docs"
"github.com/tbxark/sphere/pkg/utils/boot"
"github.com/TBXark/sphere/internal/biz/task"
"github.com/TBXark/sphere/internal/pkg/app"
"github.com/TBXark/sphere/internal/server/api"
"github.com/TBXark/sphere/internal/server/dash"
"github.com/TBXark/sphere/internal/server/docs"
"github.com/TBXark/sphere/pkg/utils/boot"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/app/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
package main

import (
"github.com/TBXark/sphere/internal"
"github.com/TBXark/sphere/internal/config"
"github.com/TBXark/sphere/pkg/utils/boot"
"github.com/google/wire"
"github.com/tbxark/sphere/internal"
"github.com/tbxark/sphere/internal/config"
"github.com/tbxark/sphere/pkg/utils/boot"
)

func NewApplication(conf *config.Config) (*boot.Application, error) {
Expand Down
26 changes: 13 additions & 13 deletions cmd/app/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cmd/bot/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"github.com/tbxark/sphere/internal/pkg/app"
"github.com/tbxark/sphere/internal/server/bot"
"github.com/tbxark/sphere/pkg/utils/boot"
"github.com/TBXark/sphere/internal/pkg/app"
"github.com/TBXark/sphere/internal/server/bot"
"github.com/TBXark/sphere/pkg/utils/boot"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/bot/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
package main

import (
"github.com/TBXark/sphere/internal"
"github.com/TBXark/sphere/internal/config"
"github.com/TBXark/sphere/pkg/utils/boot"
"github.com/google/wire"
"github.com/tbxark/sphere/internal"
"github.com/tbxark/sphere/internal/config"
"github.com/tbxark/sphere/pkg/utils/boot"
)

func NewBotApplication(conf *config.Config) (*boot.Application, error) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/bot/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/cli/config/cmd/gen.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cmd

import (
"github.com/TBXark/sphere/internal/config"
"github.com/TBXark/sphere/pkg/utils/config/parser"
"github.com/spf13/cobra"
"github.com/tbxark/sphere/internal/config"
"github.com/tbxark/sphere/pkg/utils/config/parser"
"log"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/cli/config/cmd/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"encoding/json"
"fmt"
"github.com/TBXark/sphere/internal/config"
"github.com/TBXark/sphere/pkg/log"
"github.com/spf13/cobra"
"github.com/tbxark/sphere/internal/config"
"github.com/tbxark/sphere/pkg/log"
)

// testCmd represents the test command
Expand Down
2 changes: 1 addition & 1 deletion cmd/cli/config/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/tbxark/sphere/cmd/cli/config/cmd"
"github.com/TBXark/sphere/cmd/cli/config/cmd"
)

func main() {
Expand Down
Loading

0 comments on commit 09f318e

Please sign in to comment.