Skip to content

Commit

Permalink
update: simplified name
Browse files Browse the repository at this point in the history
  • Loading branch information
kainonly committed Jul 13, 2023
1 parent 19e6e3e commit ea7b726
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 24 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Weplanx Go Utils

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/weplanx/go-wpx/testing.yml)]()
[![Coveralls github](https://img.shields.io/coveralls/github/weplanx/go-wpx.svg?style=flat-square)](https://coveralls.io/github/weplanx/go-wpx)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/weplanx/go-wpx?style=flat-square)](https://github.com/weplanx/go-wpx)
[![Go Report Card](https://goreportcard.com/badge/github.com/weplanx/go-wpx?style=flat-square)](https://goreportcard.com/report/github.com/weplanx/go-wpx)
[![Release](https://img.shields.io/github/v/release/weplanx/go-wpx.svg?style=flat-square)](https://github.com/weplanx/go-wpx)
[![GitHub license](https://img.shields.io/github/license/weplanx/go-wpx?style=flat-square)](https://raw.githubusercontent.com/weplanx/go-wpx/master/LICENSE)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/weplanx/go/testing.yml)]()
[![Coveralls github](https://img.shields.io/coveralls/github/weplanx/go.svg?style=flat-square)](https://coveralls.io/github/weplanx/go)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/weplanx/go?style=flat-square)](https://github.com/weplanx/go)
[![Go Report Card](https://goreportcard.com/badge/github.com/weplanx/go?style=flat-square)](https://goreportcard.com/report/github.com/weplanx/go)
[![Release](https://img.shields.io/github/v/release/weplanx/go.svg?style=flat-square)](https://github.com/weplanx/go)
[![GitHub license](https://img.shields.io/github/license/weplanx/go?style=flat-square)](https://raw.githubusercontent.com/weplanx/go/master/LICENSE)

Some commonly used integration utils

## License

[BSD-3-Clause License](https://github.com/weplanx/go-wpx/blob/main/LICENSE)

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fweplanx%2Futils.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fweplanx%2Futils?ref=badge_large)
[BSD-3-Clause License](https://github.com/weplanx/go/blob/main/LICENSE)
2 changes: 1 addition & 1 deletion captcha/captcha_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"github.com/redis/go-redis/v9"
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/captcha"
"github.com/weplanx/go/captcha"
"log"
"os"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion cipher/cipher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package cipher_test

import (
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/cipher"
"github.com/weplanx/go/cipher"
"testing"
)

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/weplanx/go-wpx
module github.com/weplanx/go

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion locker/locker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"github.com/redis/go-redis/v9"
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/locker"
"github.com/weplanx/go/locker"
"log"
"os"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion passlib/passlib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package passlib_test

import (
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/passlib"
"github.com/weplanx/go/passlib"
"testing"
)

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

import (
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/passport"
"github.com/weplanx/go/passport"
"os"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion sessions/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package sessions

import (
"github.com/redis/go-redis/v9"
"github.com/weplanx/go-wpx/values"
"github.com/weplanx/go/values"
)

func New(options ...Option) *Service {
Expand Down
4 changes: 2 additions & 2 deletions sessions/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/cloudwego/hertz/pkg/common/utils"
"github.com/cloudwego/hertz/pkg/route"
"github.com/redis/go-redis/v9"
"github.com/weplanx/go-wpx/sessions"
"github.com/weplanx/go-wpx/values"
"github.com/weplanx/go/sessions"
"github.com/weplanx/go/values"
"log"
"net/http"
"os"
Expand Down
2 changes: 1 addition & 1 deletion sessions/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/redis/go-redis/v9"
"github.com/weplanx/go-wpx/values"
"github.com/weplanx/go/values"
"strings"
)

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

import (
"github.com/nats-io/nats.go"
"github.com/weplanx/go-wpx/cipher"
"github.com/weplanx/go/cipher"
"time"
)

Expand Down
4 changes: 2 additions & 2 deletions values/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"github.com/cloudwego/hertz/pkg/route"
"github.com/nats-io/nats.go"
"github.com/nats-io/nkeys"
"github.com/weplanx/go-wpx/cipher"
"github.com/weplanx/go-wpx/values"
"github.com/weplanx/go/cipher"
"github.com/weplanx/go/values"
"log"
"net/http"
"os"
Expand Down
2 changes: 1 addition & 1 deletion values/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/bytedance/sonic"
"github.com/nats-io/nats.go"
"github.com/thoas/go-funk"
"github.com/weplanx/go-wpx/cipher"
"github.com/weplanx/go/cipher"
"reflect"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion values/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package values_test
import (
"github.com/nats-io/nats.go"
"github.com/stretchr/testify/assert"
"github.com/weplanx/go-wpx/values"
"github.com/weplanx/go/values"
"sync"
"testing"
)
Expand Down

0 comments on commit ea7b726

Please sign in to comment.