diff --git a/example_test.go b/example_test.go index 179a087..6157153 100644 --- a/example_test.go +++ b/example_test.go @@ -4,10 +4,9 @@ import ( "fmt" "github.com/json-iterator/go" "os" - "testing" ) -func Test_ExampleMarshal(t *testing.T) { +func ExampleMarshal() { type ColorGroup struct { ID int Name string