Files
simrsx-be/internal/infra/sync-consumer-cfg/sync-cfg.go
T
munawwirul_jamal b09c9f183c feat/sync-setting:
+ moved infra/sync-cfg to infra/sync-consumer-cfg
+ adjut anything related to old infra/sync
+ infra/sync is now have new setting for the sync
2025-11-28 09:16:38 +07:00

16 lines
291 B
Go

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