gotil

utility library for go

gotil-logo


Description

utility library for go

Features

  • No thirdparty libraries.

Run on Local

Step 1: git clone this repository gotilty/[email protected]

git clone https://github.com/gotilty/gotil.git

Go to project folder

cd gotil

Step 2: run test

go test -v ./...

Step 3: run benchmarks

go test -v ./... -bench=. -run=xxx -benchmem

└─(02:55:58 on feature/readme ✹ ✭)──> go test -v ./... -bench=. -run=xxx -benchmem -v                                                                                                                       ──(Sun,Mar27)─┘
=== RUN   TestIsAssigned
--- PASS: TestIsAssigned (0.00s)
goos: darwin
goarch: arm64
pkg: github.com/gotilty/gotil
BenchmarkIsAssignedString
BenchmarkIsAssignedString-8     107678102               10.78 ns/op
BenchmarkIsAssignedInteger
BenchmarkIsAssignedInteger-8    235145172                5.076 ns/op
BenchmarkIsAssignedStruct
BenchmarkIsAssignedStruct-8      9016149               131.4 ns/op
PASS
ok      github.com/gotilty/gotil       5.155s

TODO

  • Readme File
  • Go Doc
  • ApiDoc
  • Tests

GitHub

View Github