18 lines
379 B
Go
18 lines
379 B
Go
package service
|
|
|
|
import (
|
|
"dubbo.apache.org/dubbo-go/v3/config"
|
|
"github.com/fonchain/fonchain-artistinfo/pb/account"
|
|
"github.com/fonchain/fonchain-artistinfo/pb/artist"
|
|
)
|
|
|
|
var (
|
|
GrpcArtistImpl = new(artist.ArtistClientImpl)
|
|
AccountImpl = new(account.AccountClientImpl)
|
|
)
|
|
|
|
func init() {
|
|
config.SetConsumerService(GrpcArtistImpl)
|
|
config.SetConsumerService(AccountImpl)
|
|
}
|