diff --git a/dtmsvr/storage/trans.go b/dtmsvr/storage/trans.go index e9551d5..856bd09 100644 --- a/dtmsvr/storage/trans.go +++ b/dtmsvr/storage/trans.go @@ -81,7 +81,7 @@ func (b *TransBranchStore) String() string { return dtmimp.MustMarshalString(*b) } -//KVStore defines Key-Value storage info +// KVStore defines Key-Value storage info type KVStore struct { dtmutil.ModelBase Cat string `json:"cat"` diff --git a/test/saga_grpc_test.go b/test/saga_grpc_test.go index e14d3ae..17806a3 100644 --- a/test/saga_grpc_test.go +++ b/test/saga_grpc_test.go @@ -92,7 +92,7 @@ func TestSagaGrpcEmptyUrl(t *testing.T) { assert.Equal(t, StatusSucceed, getTransStatus(saga.Gid)) } -//nolint: unparam +// nolint: unparam func genSagaGrpc(gid string, outFailed bool, inFailed bool) *dtmgrpc.SagaGrpc { saga := dtmgrpc.NewSagaGrpc(dtmutil.DefaultGrpcServer, gid) req := busi.GenReqGrpc(30, outFailed, inFailed)