重构:完成架构一致性整改与生命周期收口
This commit is contained in:
1 parent
55904cc409
commit
9eb6be2875
344 files changed
+15961
-13926
No files matched your search
@@ -6,13 +6,13 @@ import (
|
||||
"io/fs"
|
||||
)
|
||||
|
||||
// files 保存文件列表,供当前处理流程使用
|
||||
// files 用于本次流程后续判断的文件列表
|
||||
//
|
||||
//go:embed static/*
|
||||
var files embed.FS
|
||||
|
||||
// Static returns the embedded built frontend rooted at static/.
|
||||
// Static 负责Static相关处理。
|
||||
// Static 封装Static业务协调。
|
||||
func Static() (fs.FS, error) {
|
||||
return fs.Sub(files, "static")
|
||||
}
|
||||
Reference in new issue
Block a user