17 lines
377 B
Go
17 lines
377 B
Go
package service
|
|
|
|
var (
|
|
// GrpcContainerImpl = new(artist.ArtistClientImpl)
|
|
)
|
|
|
|
func init() {
|
|
//config.SetConsumerService(GrpcArtistImpl)
|
|
//if os.Args[len(os.Args)-1] == "unit-test" {
|
|
// _ = os.Setenv(constant.ConfigFileEnvKey, "../../conf/dubbogo.yaml")
|
|
//}
|
|
//fmt.Println(os.Getenv(constant.ConfigFileEnvKey))
|
|
//if err := config.Load(); err != nil {
|
|
// panic(err)
|
|
//}
|
|
}
|