package
Version:
v1.0.6
Opens a new window with list of versions in this module.
Published: Aug 23, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Contains 判断字符串s中是否包含字串sub
基于strings包实现 strings.Contains
Join 将多个字符串通过连接符拼接起来,例:["abc","def","ghi"] 通过-连接 "abc-def-ghi"
NumCaptcha 生成数字验证码
digit 验证码位数,取值4-8,默认4位
Split 将字符串按分隔符分割为多个字符串 例:"abc-def-ghi" 按-分割 ["abc","def","ghi"]
Trim 在s字符串的头部和尾部去除cutset指定的字符串
Source Files
¶
Click to show internal directories.
Click to hide internal directories.