Skip to content

Commit

Permalink
my dev
Browse files Browse the repository at this point in the history
  • Loading branch information
PangXing committed Aug 8, 2022
1 parent 311caff commit a75a560
Show file tree
Hide file tree
Showing 76 changed files with 232 additions and 232 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ about: Create a report to help us improve
title: ''
---

- [ ] I have searched the [issues](https://github.com/seata/seata-go/issues) of this repository and believe that this is not a duplicate.
- [ ] I have searched the [issues](https://github.com/PangXing/seata-go/issues) of this repository and believe that this is not a duplicate.

**Describe the bug**
A clear and concise description of what the bug is.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/seata/seata-go
module github.com/PangXing/seata-go

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion pkg/base/config_center/base_operate.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config_center

import (
"github.com/seata/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config"
)

// AddListener add config center listener
Expand Down
2 changes: 1 addition & 1 deletion pkg/base/config_center/config_center_factory.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package config_center

import (
"github.com/seata/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config"
)

type DynamicConfigurationFactory interface {
Expand Down
10 changes: 5 additions & 5 deletions pkg/base/config_center/etcdv3/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (

gxetcd "github.com/dubbogo/gost/database/kv/etcd/v3"

"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/config_center"
"github.com/seata/seata-go/pkg/base/constant"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config_center"
"github.com/PangXing/seata-go/pkg/base/constant"
"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/util/log"
clientv3 "go.etcd.io/etcd/client/v3"
)

Expand Down
8 changes: 4 additions & 4 deletions pkg/base/config_center/nacos/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
"github.com/nacos-group/nacos-sdk-go/clients"
"github.com/nacos-group/nacos-sdk-go/clients/config_client"

"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config_center"
"github.com/PangXing/seata-go/pkg/base/constant"
"github.com/PangXing/seata-go/pkg/base/extension"
nacosConstant "github.com/nacos-group/nacos-sdk-go/common/constant"
"github.com/nacos-group/nacos-sdk-go/vo"
"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/config_center"
"github.com/seata/seata-go/pkg/base/constant"
"github.com/seata/seata-go/pkg/base/extension"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions pkg/base/extension/config_center.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package extension
import (
"sync"

"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config_center"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/config_center"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/base/extension/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package extension
import (
"sync"

"github.com/PangXing/seata-go/pkg/base/registry"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/registry"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/base/getty/message_future.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package getty

import (
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/protocal"
)

// MessageFuture ...
Expand Down
4 changes: 2 additions & 2 deletions pkg/base/getty/readwriter/readwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"bytes"
"encoding/binary"

"github.com/PangXing/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/protocal/codec"
getty "github.com/apache/dubbo-getty"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/seata/seata-go/pkg/base/protocal/codec"
"vimagination.zapto.org/byteio"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/base/model/resource.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package model

import (
"github.com/seata/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/base/meta"
)

type IResource interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/base/protocal/codec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package codec
import (
"bytes"

"github.com/seata/seata-go/pkg/base/protocal"
"github.com/seata/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/util/log"
"vimagination.zapto.org/byteio"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/base/protocal/codec/seata_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package codec
import (
"bytes"

"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/base/protocal"
"vimagination.zapto.org/byteio"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/base/protocal/codec/seata_encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package codec
import (
"bytes"

"github.com/seata/seata-go/pkg/base/protocal"
"github.com/seata/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/util/log"
"vimagination.zapto.org/byteio"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/base/protocal/transaction.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package protocal

import (
"github.com/seata/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/base/meta"
)

type AbstractTransactionResponse struct {
Expand Down
12 changes: 6 additions & 6 deletions pkg/base/registry/etcdv3/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import (

perrors "github.com/pkg/errors"

"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/constant"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/base/registry"
"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/constant"
"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/base/registry"
clientv3 "go.etcd.io/etcd/client/v3"

utils "github.com/seata/seata-go/pkg/util/etcdv3"
"github.com/seata/seata-go/pkg/util/log"
utils "github.com/PangXing/seata-go/pkg/util/etcdv3"
"github.com/PangXing/seata-go/pkg/util/log"
)

func init() {
Expand Down
10 changes: 5 additions & 5 deletions pkg/base/registry/file/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package file
import (
"strings"

"github.com/seata/seata-go/pkg/base/constant"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/base/registry"
"github.com/seata/seata-go/pkg/client/config"
"github.com/seata/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/base/constant"
"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/base/registry"
"github.com/PangXing/seata-go/pkg/client/config"
"github.com/PangXing/seata-go/pkg/util/log"
)

func init() {
Expand Down
10 changes: 5 additions & 5 deletions pkg/base/registry/nacos/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (
"github.com/nacos-group/nacos-sdk-go/clients"
"github.com/nacos-group/nacos-sdk-go/clients/naming_client"

"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/constant"
"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/base/registry"
"github.com/PangXing/seata-go/pkg/util/log"
nacosConstant "github.com/nacos-group/nacos-sdk-go/common/constant"
"github.com/nacos-group/nacos-sdk-go/model"
"github.com/nacos-group/nacos-sdk-go/vo"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/constant"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/base/registry"
"github.com/seata/seata-go/pkg/util/log"
)

func init() {
Expand Down
10 changes: 5 additions & 5 deletions pkg/client/config/client_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"os"
"time"

"github.com/PangXing/seata-go/pkg/base/config"
"github.com/PangXing/seata-go/pkg/base/config_center"
"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/util/parser"
"github.com/creasty/defaults"
"github.com/imdario/mergo"
"github.com/seata/seata-go/pkg/base/config"
"github.com/seata/seata-go/pkg/base/config_center"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/util/log"
"github.com/seata/seata-go/pkg/util/parser"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/client/config/getty_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
import (
"time"

config2 "github.com/seata/seata-go/pkg/base/config"
config2 "github.com/PangXing/seata-go/pkg/base/config"
)

// GettyConfig
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/context/root_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"strings"

"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/util/log"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/proxy/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"unicode"
"unicode/utf8"

context2 "github.com/seata/seata-go/pkg/client/context"
"github.com/seata/seata-go/pkg/util/log"
context2 "github.com/PangXing/seata-go/pkg/client/context"
"github.com/PangXing/seata-go/pkg/util/log"
)

var (
Expand Down
12 changes: 6 additions & 6 deletions pkg/client/rm/abstract_resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package rm
import (
"strings"

"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/base/model"
"github.com/PangXing/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/client/config"
"github.com/PangXing/seata-go/pkg/client/context"
"github.com/PangXing/seata-go/pkg/client/rpc_client"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/base/model"
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/seata/seata-go/pkg/client/config"
"github.com/seata/seata-go/pkg/client/context"
"github.com/seata/seata-go/pkg/client/rpc_client"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/rm/resource_manager.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package rm

import (
"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/base/model"
"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/base/model"
)

type ResourceManagerInbound interface {
Expand Down
10 changes: 5 additions & 5 deletions pkg/client/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (

getty "github.com/apache/dubbo-getty"

"github.com/PangXing/seata-go/pkg/base/extension"
"github.com/PangXing/seata-go/pkg/base/getty/readwriter"
"github.com/PangXing/seata-go/pkg/client/config"
gxsync "github.com/dubbogo/gost/sync"
"github.com/nacos-group/nacos-sdk-go/common/logger"
"github.com/seata/seata-go/pkg/base/extension"
"github.com/seata/seata-go/pkg/base/getty/readwriter"
"github.com/seata/seata-go/pkg/client/config"

getty2 "github.com/seata/seata-go/pkg/client/rpc_client"
"github.com/seata/seata-go/pkg/util/log"
getty2 "github.com/PangXing/seata-go/pkg/client/rpc_client"
"github.com/PangXing/seata-go/pkg/util/log"
)

type RpcClient struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/rpc_client/client_message_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package rpc_client
import (
"time"

"github.com/seata/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/protocal"
)

type ClientMessageSender interface {
Expand Down
12 changes: 6 additions & 6 deletions pkg/client/rpc_client/rpc_remoting_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
"github.com/pkg/errors"
"go.uber.org/atomic"

getty2 "github.com/seata/seata-go/pkg/base/getty"
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/seata/seata-go/pkg/base/protocal/codec"
"github.com/seata/seata-go/pkg/client/config"
"github.com/seata/seata-go/pkg/util/log"
"github.com/seata/seata-go/pkg/util/runtime"
getty2 "github.com/PangXing/seata-go/pkg/base/getty"
"github.com/PangXing/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/protocal/codec"
"github.com/PangXing/seata-go/pkg/client/config"
"github.com/PangXing/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/util/runtime"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/rpc_client/rpc_rm_message.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package rpc_client

import (
"github.com/seata/seata-go/pkg/base/protocal"
"github.com/PangXing/seata-go/pkg/base/protocal"
)

type RpcRMMessage struct {
Expand Down
10 changes: 5 additions & 5 deletions pkg/client/tcc/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"reflect"
"strconv"

"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/client/context"
"github.com/PangXing/seata-go/pkg/client/proxy"
"github.com/PangXing/seata-go/pkg/util/log"
"github.com/PangXing/seata-go/pkg/util/time"
gxnet "github.com/dubbogo/gost/net"
"github.com/pkg/errors"
"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/client/context"
"github.com/seata/seata-go/pkg/client/proxy"
"github.com/seata/seata-go/pkg/util/log"
"github.com/seata/seata-go/pkg/util/time"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/client/tcc/tcc_resource.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tcc

import (
"github.com/seata/seata-go/pkg/base/meta"
"github.com/seata/seata-go/pkg/client/proxy"
"github.com/PangXing/seata-go/pkg/base/meta"
"github.com/PangXing/seata-go/pkg/client/proxy"
)

type TCCResource struct {
Expand Down
Loading

0 comments on commit a75a560

Please sign in to comment.