Skip to content

【bug】snappy 未注册到 REM registry,compress=true 时崩溃 #12

Description

@winezer0

snappy 未注册到 REM registry,compress=true 时崩溃

修复: 在 snappy.go 顶部添加 init():

func init() {
core.WrapperRegister("snappy", func(r io.Reader, w io.Writer, opt map[string]string) (core.Wrapper, error) {
return NewSnappyWrapper(r, w, opt), nil
})
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions