From 1be4d9eab11f03de60ebecc2f2eb1f6683373d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 14 May 2022 16:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- string.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string.go b/string.go index 33005f0..1670a3d 100644 --- a/string.go +++ b/string.go @@ -23,12 +23,12 @@ import ( type stringOperate struct { } -// GenRandomString 获取随机长度的字符串 +// GenRandom 获取随机长度的字符串 // // Author : go_developer@163.com<白茶清欢> // // Date : 6:01 下午 2021/3/9 -func (s *stringOperate) GenRandomString(source string, length uint) string { +func (s *stringOperate) GenRandom(source string, length uint) string { if length == 0 { return "" }