mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
Update the way flags are used
This commit is contained in:
@@ -21,7 +21,6 @@ package gomicro
|
||||
|
||||
import (
|
||||
"github.com/micro/go-micro/client"
|
||||
"github.com/micro/go-micro/cmd"
|
||||
"github.com/micro/go-micro/server"
|
||||
)
|
||||
|
||||
@@ -30,7 +29,7 @@ import (
|
||||
// and initialising services.
|
||||
type Service interface {
|
||||
Init(...Option)
|
||||
Cmd() cmd.Cmd
|
||||
Options() Options
|
||||
Client() client.Client
|
||||
Server() server.Server
|
||||
Run() error
|
||||
|
||||
Reference in New Issue
Block a user