Skip to content

Tags: kashifkhan0771/utils

Tags

v.1.8.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump golang.org/x/net from 0.35.0 to 0.37.0 (#115)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.37.0.
- [Commits](golang/net@v0.35.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

v1.7.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Updated readme (#113)

Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

v1.6.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add basic benchmarks (#106)

* add various benchmarks (#81)

add caching and rand benchmarks

add fsutils benchmarks

add logging, math, strings, templates and url benchmarks

* fix linting errors

* Update logging/logging_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

* Update caching/caching_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

* Update math/math_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

* Update rand/rand_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

* go fmt caching_test.go

Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

* go fmt rand_test.go

Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

---------

Signed-off-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>
Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

v1.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feature: Cache decorator (#102)

* added cache decorators to math module

* added cache decorators documentation

* moved cache decorator to caching package

* updated documentation to resolve requested changes

v1.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
improved error messages (#100)

v1.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
added gofmt to golangci (#99)

Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

v1.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
File System Utilities (#90)

* Add: fsutils package with function FormatFileSize

* Update: implement FindFiles function

* Update: implement GetDirectorySize function

* Update: implement FilesIdentical function

* Update: implement DirsIdentical function

* Update: Add validation for directory traversal security.

* Optimize memory usage for large file comparisons.

* Add symlink handling and optimize directory comparison

* Update: Enhance DirsIdentical test coverage

* Enhance error handling tests for FindFiles

* Update: Check error return value from os.Chmod

v1.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added logging package (#85)

* added logging package

* updated code documentation for logging package

* updated error handling to write operations

---------

Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

v1.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #80 from kashifkhan0771/update-readme

Update readME.md

v0.14.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
time utility functions added (#74)

* time utility functions added

* unit tests added

* readme docs updated

* examples added for all functions