18 lines
375 B
Go
18 lines
375 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"dubbo.apache.org/dubbo-go/v3/config"
|
||
|
_ "dubbo.apache.org/dubbo-go/v3/imports"
|
||
|
appConfig "github.com/exhibition-main/internal/config"
|
||
|
)
|
||
|
|
||
|
//var GrpcAccountClientImpl = new(account.AccountClientImpl)
|
||
|
|
||
|
func init() {
|
||
|
//config.SetConsumerService(GrpcAccountClientImpl)
|
||
|
appConfig.GetOptions()
|
||
|
if err := config.Load(); err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|