ekster/pkg/microsub/protocol_test.go
Peter Stuifzand 4fd3eb73ed
All checks were successful
the build was successful
Cleanup of simplification MF2 to JF2
2018-12-08 16:56:08 +01:00

14 lines
195 B
Go

package microsub
import (
"encoding/json"
"fmt"
"testing"
)
func TestJson(t *testing.T) {
item := Item{Type: "entry"}
result, err := json.Marshal(item)
fmt.Println(string(result), err)
}