mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Remove default service
This commit is contained in:
parent
cc720dd125
commit
45dcffcaaf
@ -34,8 +34,7 @@ type Service interface {
|
|||||||
type Option func(*Options)
|
type Option func(*Options)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
HeaderPrefix = "X-Micro-"
|
HeaderPrefix = "X-Micro-"
|
||||||
DefaultService = newService()
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewService(opts ...Option) Service {
|
func NewService(opts ...Option) Service {
|
||||||
|
Loading…
Reference in New Issue
Block a user