Documentation ¶
Overview ¶
* @Author: SpenserCai * @Date: 2023-08-17 00:40:47 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-08-26 23:58:29 * @Description: file content
* @Author: SpenserCai * @Date: 2023-08-17 00:30:18 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-08-17 00:44:40 * @Description: file content
* @Author: SpenserCai * @Date: 2023-08-17 00:38:37 * @version: * @LastEditors: SpenserCai * @LastEditTime: 2023-08-17 00:40:30 * @Description: file content
Index ¶
- func ConvertBase64ToBytes(base64Str string) ([]byte, error)
- func ConvertBytesToBase64(data []byte) string
- func FormatCommand(cmdName string) string
- func GetImageBase64(url string) (string, error)
- func GetImageBytesFromUrl(url string) ([]byte, error)
- func GetImageReaderByBase64(b64 string) (*bytes.Reader, error)
- func IsJsonString(str string) bool
- func IsUrl(str string) bool
- func IsZeroValue(value interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBase64ToBytes ¶
func ConvertBytesToBase64 ¶
func FormatCommand ¶
如果name中有_则用下划线分割后每个首字母专大写,如果没有_则直接首字母转大写
func GetImageBase64 ¶
func GetImageBytesFromUrl ¶
func IsZeroValue ¶ added in v0.3.0
func IsZeroValue(value interface{}) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.