All Projects → appleboy → com

appleboy / com

Licence: MIT license
This is an open source project for commonly used functions for the Go programming language.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Common Functions

Run Tests GoDoc codecov Go Report Card

This is an open source project for commonly used functions for the Go programming language.

Feature

  • Random
  • Array
  • File
  • Convert

Benchmrk

goos: linux
goarch: amd64
pkg: github.com/appleboy/com/array
cpu: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
BenchmarkArrayInMap
BenchmarkArrayInMap-2           411962          8343 ns/op        5224 B/op           8 allocs/op
BenchmarkArrayInSlice
BenchmarkArrayInSlice-2        4165724           863.8 ns/op           0 B/op           0 allocs/op
BenchmarkIn
BenchmarkIn-2                  4610620           776.3 ns/op        1792 B/op           1 allocs/op
BenchmarkInArray
BenchmarkInArray-2              388922          9177 ns/op        1624 B/op         101 allocs/op
PASS
ok      github.com/appleboy/com/array    16.040s
goos: linux
goarch: amd64
pkg: github.com/appleboy/com/convert
cpu: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
BenchmarkCountParamsOld
BenchmarkCountParamsOld-2             2575500          1400 ns/op           0 B/op           0 allocs/op
BenchmarkCountParamsNew
BenchmarkCountParamsNew-2            33431834           108.5 ns/op           0 B/op           0 allocs/op
BenchmarkBytesToStrOld01
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].