mirror of
https://github.com/asdine/storm.git
synced 2025-11-02 21:04:02 +08:00
Move JSON code below /codec
To prevent package import cycles, the interface `EncodeDecoder` is also moved into `codec` where it fits naturally. Fixes #19
This commit is contained in:
11
codec/json/json_test.go
Normal file
11
codec/json/json_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package json
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/asdine/storm/codec"
|
||||
)
|
||||
|
||||
func TestJSON(t *testing.T) {
|
||||
codec.RountripTester(t, Codec)
|
||||
}
|
||||
Reference in New Issue
Block a user