Commit Graph

14 Commits

Author SHA1 Message Date
nabbar
9e8179374b README:
- Add some README file to give missing documentations or update existing documentation file

Package Archive:
- Add some comments to godoc information
- Moving NopWriterCloser interface to ioutils package

Package IOUtils:
- New package NopWriterCloser to implement interfac like NopReader

Package Database:
- KVMap: fix missing function following update of kvdriver

Package Duration:
- Rename BDD testing

Package Context/Gin:
- Moving function New between model & interface file

Package AWS:
- rework Walk function to use more generic with standard walk caller function
- func walk will now no more return and include error (can be catched into the given func)
- func walk will now return a bool to continue or stop the loop
- func walk with many input function will now stop when all given function return false
- func walk will now return error only about main process and not given function

Package errors:
- Add interface error into interface Error

Package IOUtils:
- Moving IOWrapper as subPackage and optimize process + allow thread safe
2025-05-25 06:29:25 +02:00
Nicolas JUHEL
3562c0bf86 Package Certificates:
- fix not well working viper hook function

Package Semaphore:
- Add Clone function in Semaphore interface

Package Duration:
- Fix overflow capabilitie with negative value to package duration & duration/big
2025-04-10 17:38:45 +02:00
nabbar
19d64346f6 Package Duration:
- fix bug into parse in duration & duration/big

Other:
- Bump dependencies
2025-03-30 14:04:58 +02:00
Thomas
5c5a401f37 Merge branch 'master' into bump_viper_mapstructure
Signed-off-by: Thomas <61581279+thomasbkd@users.noreply.github.com>
2025-03-28 17:03:26 +01:00
Nicolas JUHEL
c1adb1e090 Package Duration:
- fix marshaller in yaml/toml
- optimize marchaller
- add sub package big to manage duration with big walue like 1000 days
- big duration have limit to seconds and to not keep any milliseconds, microseconds or nanoseconds
- big duraction have max value of 106,751,991,167,300 d 15 h 30 m 7 s
2025-03-26 12:18:19 +01:00
Nicolas JUHEL
b1a8a6dbe9 Package Duration:
- add self parsing to allow capabilities parsing days like '4d13h25m41s'
2025-03-25 11:06:18 +01:00
thomasbkd
23f6e182ed Migrating mapstructure repo from mitchellh to go-viper 2025-03-20 16:49:04 +01:00
Nicolas JUHEL
24dd03ae05 Package Duration:
- RangeFrom / RangeTo: truncate second to not save lower than second in resulted range
2024-10-08 12:08:06 +02:00
Nicolas JUHEL
57a08a8ec5 Package Duration:
- fix range time (min & max was not included in range)
2024-10-07 16:56:12 +02:00
Nicolas JUHEL
3c6318b33a Package PID Controller:
- add package to calculate range of value for Progressive Integrate Derivative

Package Duration:
- add function to parse float64 to Duration
- add function to return a PID Duration range from another given duration
- add function to return a PID Duration range to another given duration
2024-10-04 16:08:22 +02:00
Nicolas JUHEL
a231261029 Package Duration:
- fix bug with 0s duration
2024-08-14 08:45:23 +02:00
Nicolas JUHEL
2d70f142e6 Package Duration:
- fix days: using ceil instead of floor
- add tuncate function for micro, milli, seconds, minutes, hours and days

Other:
- bump dependencies
2024-06-11 10:26:58 +02:00
Nicolas JUHEL
9851a8caac Package duration: fix bug format Days return Hours and not Days 2023-11-29 14:31:39 +01:00
Nicolas JUHEL
97e70d063f Package Archives:
- fix security arbitrary path
- fix linter

Package AWS:
- implement resolver v2

Package Cobra:
- fix linter

Package Config/component:
- fix linter

Package Context/Config:
- Add function to set context

Package Database/KV...:
- Fix error
- Fix collision pointer
- Fix models
- Fix circular dependencies
- Add function Delete on driver, table and item
- Add function new on drvier to prevent collision data when create item on table get / walk

Package Duration:
- Add type Duration based on time.Duration to allow transform duration to string instead of int64 nanosecond
- Add function to parse in json, yaml, toml, text, cbor
- Add function to allow convert type into mapstructure (spf13 viper, cobra...)

Package File/Perm:
- Add type Perm based on os.FileMode to allow marshall / unmashall it into octal form instead of string representation (-rwxrwxrwx)
- Add function to marshall / unmarshall in json, yaml, toml, text, cbor
- Add function to allow convert type into mapstructure (spf13 viper, cobra...)

Package File/progress:
- Fix linter

Package HTTPServer :
- Fix linter
- Fix security by adding a default value if not set on config

Package ioutils:
- Fix Linter

Package LDAP:
- Add Clone function

Package logger/hookfile:
- Fix linter

Package nats:
- Fix linter

Package Network/Protocol:
- Fix bug with quote / Dbl Quote on unmarshall

Package Password:
- Replace password with crypto rand instead of math rand

Package Size:
- Fix potential overflow
- Add function to format value into Int32, Int, Uint32, Uint, Float32
- Add function to parse Float64 into type Size

Package Socket:
- change config uint32 to golib Size, time.Duration to golib Duration
- add TLS managment to server TCP, discard for UDP & Unix file Local Domain
- add function Info Server to print information of server when listen is starting
2023-11-21 20:21:37 +01:00