Files
simrsx-be/internal/infra/sync-cfg/sync-cfg.go
T
2025-10-22 15:01:13 +07:00

15 lines
287 B
Go

package synccfg
import (
a "github.com/karincake/apem"
lo "github.com/karincake/apem/loggero"
)
func SetConfig() {
a.ParseSingleCfg(&O)
if O.Host == "" || O.Target == "" {
panic("sync url config host or target empty")
}
lo.I.Println("sync url config loaded, status: DONE!!")
}