diff --git a/README.md b/README.md index d8b7032..a407f37 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,21 @@ 📦 Golang 字符串组件 [comment]: <> (go) -[![godoc](https://pkg.go.dev/badge/github.com/dtapps/gostring?status.svg)](https://pkg.go.dev/github.com/dtapps/gostring) -[![goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/gostring/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/gostring) -[![goreportcard.com](https://goreportcard.com/badge/github.com/dtapps/gostring)](https://goreportcard.com/report/github.com/dtapps/gostring) -[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgostring) +[![godoc](https://pkg.go.dev/badge/go.dtapp.net/string?status.svg)](https://pkg.go.dev/go.dtapp.net/string) +[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/string/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/string) +[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/string)](https://goreportcard.com/report/go.dtapp.net/string) +[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net/string) #### 安装使用 ```go -go get -v -u github.com/dtapps/gostring +go get -v -u go.dtapp.net/string ``` #### 导入 ```go import ( - "github.com/dtapps/gostring" + "go.dtapp.net/string" ) ``` \ No newline at end of file diff --git a/go.mod b/go.mod index 8d5cd0c..d15fc1c 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/dtapps/gostring +module go.dtapp.net/string go 1.18 diff --git a/gostring.go b/gostring.go index 587dea1..8fe6bd0 100644 --- a/gostring.go +++ b/gostring.go @@ -10,7 +10,7 @@ import ( "unicode/utf8" ) -const Version = "1.0.1" +const Version = "1.0.2" // ToString 转换成string func ToString(value interface{}) string {