1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00

fix(config/apollo): code style (#1395)

This commit is contained in:
包子 2021-08-31 10:12:35 +08:00 committed by GitHub
parent df6bbaa091
commit 112ca9c78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ func (c *customChangeListener) OnNewestChange(changeEvent *storage.FullChangeEve
}
func NewWatcher(a *apollo) (config.Watcher, error) {
e:=make(chan []*config.KeyValue)
e := make(chan []*config.KeyValue)
a.client.AddChangeListener(&customChangeListener{})
return &watcher{event: e}, nil
}