2025-08-29 17:02:23 +08:00
2025-07-23 19:07:35 +08:00
2025-07-08 15:26:54 +08:00
2025-07-08 15:26:54 +08:00
2025-07-11 10:18:22 +08:00
2025-07-11 10:18:22 +08:00
2025-07-23 19:07:35 +08:00
2025-07-11 10:18:22 +08:00
2025-07-31 09:40:41 +08:00
2025-07-23 19:07:35 +08:00
2025-07-11 10:18:22 +08:00
2024-08-20 16:16:56 +08:00
2025-08-29 17:02:23 +08:00
2025-08-29 17:02:23 +08:00
2023-03-06 17:17:07 +08:00
2024-08-20 15:48:09 +08:00

go-easy-utils

Go Release Action Report Coverage Doc License

English | 简体中文

Introduction

This is a general data type processing tool class based on Go language, which helps developers process common data types and data operations in business code implementation. It allows you to focus on the implementation of your business code without processing the basic data type conversion and validation functions. The non-intrusive design of the tool library can make your business code easier to read and elegant.

Quick Start

Install

go get -u github.com/jefferyjob/go-easy-utils/v3

Use Demo

package main

import (
	"fmt"
	"github.com/jefferyjob/go-easy-utils/v3/slicex"
)

func main() {
	var s = []string{"this", "is", "go", "easy", "utils"}
	c := slicex.Chunk(s, 2)
	fmt.Printf("%v", c)
}

Function list

Package name Function Outline Document
anyx Convert any type of data to the specified type README
bytex Conversion of byte array README
cryptox Various encryption processing README
emojix Decoding and encoding of emoji expression README
floatx Floating-point data processing README
intx Numerical data processing README
jsonx Json data conversion, support weak type conversion README
mapx Map type data processing README
mathx The Math function can handle values within the range of integers and floats. README
randx Random number generation, including: number, string, byte array README
slicex Slice processing (grouping, summation, transformation, merging, etc.) README
strx String conversion processing README
validx Common data verification, such as: Chinese, English, name, ID number, phone number, email README

License

This library is licensed under the Apache-2.0. See the LICENSE file for details.

Description
Quick toolbox for common data processing developed by Go language。Go语言开发的常用数据处理的快捷工具箱。
Readme 754 KiB
Languages
Go 99.8%
Makefile 0.2%