mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-14 21:23:47 +08:00
优化不必要的Service可见性,添加Apple M1、M2芯片Debug出现的兼容性问文档
This commit is contained in:
@@ -27,12 +27,12 @@ import (
|
||||
|
||||
type sAdminNotice struct{}
|
||||
|
||||
func NewAdminNotice() *sAdminNotice {
|
||||
func newAdminNotice() *sAdminNotice {
|
||||
return &sAdminNotice{}
|
||||
}
|
||||
|
||||
func init() {
|
||||
service.RegisterAdminNotice(NewAdminNotice())
|
||||
service.RegisterAdminNotice(newAdminNotice())
|
||||
}
|
||||
|
||||
// Model Orm模型
|
||||
|
||||
Reference in New Issue
Block a user