diff --git a/internal/rdb/structure/length.go b/internal/rdb/structure/length.go index 628d50c..e62543f 100644 --- a/internal/rdb/structure/length.go +++ b/internal/rdb/structure/length.go @@ -11,7 +11,7 @@ const ( RDB6ByteLen = 0 // RDB_6BITLEN RDB14ByteLen = 1 // RDB_14BITLEN len32or64Bit = 2 - lenSpecial = 3 + lenSpecial = 3 // RDB_ENCVAL RDB32ByteLen = 0x80 RDB64ByteLen = 0x81 ) diff --git a/internal/rdb/types/interface.go b/internal/rdb/types/interface.go index aae14a9..ecfc9d1 100644 --- a/internal/rdb/types/interface.go +++ b/internal/rdb/types/interface.go @@ -28,7 +28,7 @@ const ( rdbTypeList = 1 rdbTypeSet = 2 rdbTypeZSet = 3 - rdbTypeHash = 4 + rdbTypeHash = 4 // RDB_TYPE_HASH rdbTypeZSet2 = 5 // ZSET version 2 with doubles stored in binary. rdbTypeModule = 6 // RDB_TYPE_MODULE rdbTypeModule2 = 7 // RDB_TYPE_MODULE2 Module value with annotations for parsing without the generating module being loaded.