Skip to content
Proyek

Tentang

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

Data dan analisis

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

Jelajahi proyek terkait

Memuat…