com

module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2020 License: MIT

README

Common Functions

GoDoc Build Status 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

$ go test -v -benchmem -run=^$ -bench=^Benchmark ./array/
goos: darwin
goarch: amd64
pkg: github.com/appleboy/com/array
BenchmarkArrayMap-8               200000              9735 ns/op            5654 B/op          9 allocs/op
BenchmarkArraySlice-8            2000000               663 ns/op               0 B/op          0 allocs/op
BenchmarkIn-8                    1000000              1137 ns/op            1792 B/op          1 allocs/op
BenchmarkInArray-8                100000             14337 ns/op            1632 B/op        101 allocs/op
PASS
ok      github.com/appleboy/com/array   6.780

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL