Skip to content
المشاريع

حول

Quick toolbox for common data processing developed by Go language。Go语言开发的常用数据处理的快捷工具箱。

البيانات والتحليلات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

go-easy-utils

go-easy-utils

Go Release Action Lint 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.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…