1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

clean examples (#1041)

* clean examples
This commit is contained in:
Tony Chen
2021-06-13 08:42:26 +08:00
committed by GitHub
parent 99719dd667
commit 40e34b32f1
3 changed files with 8 additions and 9 deletions
-5
View File
@@ -49,11 +49,6 @@ func New(opts ...Option) *App {
// Run executes all OnStart hooks registered with the application's Lifecycle.
func (a *App) Run() error {
a.log.Infow(
"service_id", a.opts.id,
"service_name", a.opts.name,
"service_version", a.opts.version,
)
instance, err := a.buildInstance()
if err != nil {
return err