mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-05 08:46:57 +08:00
code quality inspection for pkg direcory
This commit is contained in:
@@ -106,7 +106,7 @@ func GzipDecode(in []byte) ([]byte, error) {
|
||||
// JSONSnappyEncoding json format and snappy compression
|
||||
type JSONSnappyEncoding struct{}
|
||||
|
||||
// Marshal serialisation
|
||||
// Marshal serialization
|
||||
func (s JSONSnappyEncoding) Marshal(v interface{}) (data []byte, err error) {
|
||||
b, err := json.Marshal(v)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user