github.com/volts-dev/volts@v0.0.0-20240120094013-5e9c65924106/transport/message_test.go (about)

     1  package transport
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/volts-dev/volts/codec"
     7  )
     8  
     9  func TestA(t *testing.T) {
    10  	msg := newMessage()
    11  	msg.SetSerializeType(codec.JSON)
    12  	t.Log(codec.JSON, msg.SerializeType())
    13  }