mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-11 17:56:37 +08:00
refactor(layout): consolidate backend codebase into backend/ package and clean root directory
- Moved cmd/, core/, plugins/, pkg/, downstream/, and main.go into backend/ directory - Batch updated all Go source files to import github.com/Rain-kl/Wavelet/backend/... - Updated Makefile, scripts/swagger.sh, architecture guards, and platform skills - Passed all quality gates (100% tests, 0 lint issues, clean build)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
## 1. 任务定义与 Handler 编写
|
||||
|
||||
在对应的业务插件中(如 `plugins/domain/user/tasks.go`):
|
||||
在对应的业务插件中(如 `backend/plugins/domain/user/tasks.go`):
|
||||
|
||||
```go
|
||||
package user
|
||||
@@ -61,8 +61,8 @@ package user
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/Rain-kl/Wavelet/core"
|
||||
"github.com/Rain-kl/Wavelet/core/extpoints"
|
||||
"github.com/Rain-kl/Wavelet/backend/core"
|
||||
"github.com/Rain-kl/Wavelet/backend/core/extpoints"
|
||||
)
|
||||
|
||||
func (p *Plugin) Apply(ctx *core.Context) error {
|
||||
|
||||
Reference in New Issue
Block a user