From 472ab6b16fae4f3a00e99afeb2b8048adc354f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Mon, 9 May 2022 10:42:46 +0800 Subject: [PATCH] update --- README.md | 12 ++++++------ go.mod | 2 +- gostring.go | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a407f37..3d74699 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,21 @@ 📦 Golang 字符串组件 [comment]: <> (go) -[![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) +[![godoc](https://pkg.go.dev/badge/go.dtapp.net/gostring?status.svg)](https://pkg.go.dev/go.dtapp.net/gostring) +[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/gostring/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/gostring) +[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/gostring)](https://goreportcard.com/report/go.dtapp.net/gostring) +[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net/gostring) #### 安装使用 ```go -go get -v -u go.dtapp.net/string +go get -v -u go.dtapp.net/gostring ``` #### 导入 ```go import ( - "go.dtapp.net/string" + "go.dtapp.net/gostring" ) ``` \ No newline at end of file diff --git a/go.mod b/go.mod index d15fc1c..c789877 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module go.dtapp.net/string +module go.dtapp.net/gostring go 1.18 diff --git a/gostring.go b/gostring.go index 8fe6bd0..c489f7d 100644 --- a/gostring.go +++ b/gostring.go @@ -10,7 +10,7 @@ import ( "unicode/utf8" ) -const Version = "1.0.2" +const Version = "1.0.3" // ToString 转换成string func ToString(value interface{}) string {