Skip to content

Commit

Permalink
修改module为github
Browse files Browse the repository at this point in the history
  • Loading branch information
gjing1st committed Dec 21, 2021
1 parent 3f3e5e9 commit 586560f
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

## 2 使用说明
```bash
go get -u -v gitee.com/gjing1st/gopackage
go get -u -v github.com/gjing1st/gopackage
```

#### 推荐使用 go.mod:
```bash
require gitee.com/gjing1st/gopackage latest
require github.com/gjing1st/gopackage latest
```

## 3. 限制
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 gitee.com/gjing1st/gopackage
module github.com/gjing1st/gopackage

go 1.17

Expand Down
2 changes: 1 addition & 1 deletion gpfile/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package gpfile

import (
"fmt"
"gitee.com/gjing1st/gopackage/utils/functions"
"github.com/gjing1st/gopackage/utils/functions"
"github.com/gogf/gf/os/gfile"
"path/filepath"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion net/gphttp/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package gphttp
import (
"bytes"
"encoding/json"
log "gitee.com/gjing1st/gopackage/gplog"
log "github.com/gjing1st/gopackage/gplog"
"io"
"io/ioutil"
"net/http"
Expand Down
4 changes: 2 additions & 2 deletions utils/functions/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package functions

import (
"encoding/json"
log "gitee.com/gjing1st/gopackage/gplog"
"gitee.com/gjing1st/gopackage/net/gphttp"
log "github.com/gjing1st/gopackage/gplog"
"github.com/gjing1st/gopackage/net/gphttp"
"net/url"
)

Expand Down
4 changes: 2 additions & 2 deletions utils/goauth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package goauth

import (
"encoding/json"
log "gitee.com/gjing1st/gopackage/gplog"
"gitee.com/gjing1st/gopackage/net/gphttp"
log "github.com/gjing1st/gopackage/gplog"
"github.com/gjing1st/gopackage/net/gphttp"
"net/url"
)

Expand Down
4 changes: 2 additions & 2 deletions workweixin/access_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package workweixin
import (
"encoding/json"
"errors"
log "gitee.com/gjing1st/gopackage/gplog"
"gitee.com/gjing1st/gopackage/net/gphttp"
log "github.com/gjing1st/gopackage/gplog"
"github.com/gjing1st/gopackage/net/gphttp"
"net/url"
)

Expand Down
4 changes: 2 additions & 2 deletions workweixin/department/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package department
import (
"encoding/json"
"errors"
"gitee.com/gjing1st/gopackage/net/gphttp"
"gitee.com/gjing1st/gopackage/workweixin"
"github.com/gjing1st/gopackage/net/gphttp"
"github.com/gjing1st/gopackage/workweixin"
"log"
"net/url"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion workweixin/message/send.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package message

import (
"gitee.com/gjing1st/gopackage/workweixin"
"github.com/gjing1st/gopackage/workweixin"
"log"
"net/url"
)
Expand Down
2 changes: 1 addition & 1 deletion workweixin/message/textcard.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package message

import (
"encoding/json"
"gitee.com/gjing1st/gopackage/net/gphttp"
"github.com/gjing1st/gopackage/net/gphttp"
)

type TextCard struct {
Expand Down
4 changes: 2 additions & 2 deletions workweixin/message/textcard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package message

import (
"fmt"
"gitee.com/gjing1st/gopackage/workweixin"
"gitee.com/gjing1st/gopackage/workweixin/message"
"github.com/gjing1st/gopackage/workweixin"
"github.com/gjing1st/gopackage/workweixin/message"
"testing"
)

Expand Down
4 changes: 2 additions & 2 deletions workweixin/user/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package user
import (
"encoding/json"
"errors"
"gitee.com/gjing1st/gopackage/net/gphttp"
"gitee.com/gjing1st/gopackage/workweixin"
"github.com/gjing1st/gopackage/net/gphttp"
"github.com/gjing1st/gopackage/workweixin"
"log"
"net/url"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions workweixin/user/simplelist.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ package user
import (
"encoding/json"
"errors"
"gitee.com/gjing1st/gopackage/net/gphttp"
"gitee.com/gjing1st/gopackage/workweixin"
"github.com/gjing1st/gopackage/net/gphttp"
"github.com/gjing1st/gopackage/workweixin"
"log"
"net/url"
"strconv"
Expand Down
6 changes: 3 additions & 3 deletions workweixin/user/userinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ package user
import (
"encoding/json"
"errors"
log "gitee.com/gjing1st/gopackage/gplog"
"gitee.com/gjing1st/gopackage/net/gphttp"
"gitee.com/gjing1st/gopackage/workweixin"
log "github.com/gjing1st/gopackage/gplog"
"github.com/gjing1st/gopackage/net/gphttp"
"github.com/gjing1st/gopackage/workweixin"
"net/url"
)

Expand Down

0 comments on commit 586560f

Please sign in to comment.