1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00

Fix server panic

This commit is contained in:
Asim 2015-12-23 22:45:32 +00:00
parent 6226a80e78
commit 1da6de05ee

View File

@ -24,7 +24,8 @@ type options struct {
func newOptions(opt ...Option) options {
opts := options{
codecs: make(map[string]codec.NewCodec),
codecs: make(map[string]codec.NewCodec),
metadata: map[string]string{},
}
for _, o := range opt {