62 Commits

Author SHA1 Message Date
ede282071b fix: change references github.com -> git.nas-technologies.com migrate_latest 0.0.3 2026-03-15 18:25:08 +01:00
581d1c5173 feat(session): add session management utility 2026-03-10 14:48:13 +01:00
d2f2558fdf chore(SimpleRouter)!: promoted from unstable 2026-03-09 20:31:43 +01:00
5acd5e01eb chore: update licensing 2026-03-09 15:18:56 +01:00
Levente Nas
a25edc65b7 feat: add optional http server config params 2025-09-17 07:25:50 +02:00
3d413a8605 fix(SimpleRouter): global middlewares 0.0.2 latest 2025-01-22 01:03:31 +01:00
46a47e7cd5 feat(Logger): add WriteErrMsgRequest and WriteErrMsgRequestDebug functions 2025-01-20 21:48:47 +01:00
cb32017224 feat(Type): add new function to be able to recover from panics when unwrapping a none/error value 2025-01-20 14:18:43 +01:00
286ae7f28b fix(Logger): fix slog based logger's debug methods 2025-01-18 19:14:35 +01:00
3f7ef2e0c2 feat(Logger): add slog based logger 2025-01-12 12:52:07 +01:00
b820a75f5e fix(Logger): parameter naming 2025-01-12 12:51:35 +01:00
4e4c43930a fix(Type): better handling for driver.Valuer interface 2025-01-05 22:57:35 +01:00
5b240e0457 fix(Type): only require pointers where nil is meaningful other than panicking on it 2025-01-05 22:27:49 +01:00
4855e19fb3 fix(Type): make sure when checking if an inner type is Scanner we use pointers 2025-01-05 22:23:51 +01:00
7014f8d0ff feat(Type): implement Value,MarshalJSON,UnmarshalJSON for Result 2025-01-05 13:28:19 +01:00
cb7ea4cf3f chore(Type): consistent receiver naming 2025-01-05 13:18:48 +01:00
4ac0a09b85 fix(Type): promote case driver.Valuer to the top in switch statement for Optional Value 2025-01-04 02:41:56 +01:00
7b2c247538 feat(Type): add driver.Valuer implementation to Optional type 2025-01-04 02:37:20 +01:00
80fa0d5279 feat(Type): Scan method fixes for Result 2025-01-04 01:55:26 +01:00
1fb6970d5a fix(Type): fix Scan for Optional, time parsing now can return the error correctly 2025-01-04 01:32:46 +01:00
e23765a571 feat(Type): implement MarshalJSON and UnmarshalJSON for Optional 2025-01-03 23:30:38 +01:00
10983035db fix(Assert): swap reflect.Ptr to the new reflect.Pointer 2025-01-03 14:00:29 +01:00
29270855f8 test(Type): add more tests for Scan function on Optional 2025-01-01 22:37:59 +01:00
864953076a fix(Type): Scan method fixes 2025-01-01 22:24:59 +01:00
b5fc0df93b feat(Type): add time.Time as a possible type for Scan 2024-12-31 17:58:13 +01:00
1ab0570883 feat(Type): add Scan implementation for Optional and Result types for use with databases 2024-12-31 17:36:00 +01:00
72df0b6343 feat(Logger)!: add StopLogger function (closes channel) 0.0.1 2024-12-11 12:19:09 +01:00
Levente Nas
dee54fd93e feat(SimpleRouter): add tests for simplerouter #9
Fixes: #9
Closes: #10
2024-12-09 00:26:42 +01:00
56407deafe chore(Readme): add readme 2024-12-01 09:19:10 +01:00
9db64451dd feat(SimpleRouter): add global middleware support 2024-11-18 20:59:20 +01:00
68d274c067 feat(SimpleRouter): add new subpath handling method 2024-11-09 18:51:12 +01:00
88b3d9fa34 fix(Logger)!: consoleLogger and FileLogger StartLogger now automatically start a goroutine when called 2024-10-27 02:31:31 +02:00
eb041fd18c chore(SimpleRouter)!: moved to unstable (unstable folder is used for utils that don't yet have a stable api or breaking changes are expected) 2024-10-27 02:25:02 +02:00
5e7de844d3 fix(Logger): make Logbuffersize a var instead of const 2024-10-27 02:17:39 +02:00
f50717c815 test(Assert): add new tests for separate Nil NilPtr NotNil NotNilPtr and fix broken ones 2024-10-27 02:08:47 +02:00
bfca1b5de0 fix(Logger): remove assert called each time logger is accessed (performance) 2024-10-27 01:53:39 +02:00
6f459eff45 feat(Logger): ConsoleLogger filepath now changeable from code 2024-10-26 15:40:00 +02:00
e8a5be21d3 fix(Logger): make buffer size user customizable 2024-10-26 15:40:00 +02:00
Levente Nas
08d6e6c18e feat: add tests for assert package 2024-10-26 15:39:57 +02:00
5d2e954cdc fix(Assert): fix nil/notnil implementation 2024-10-26 15:39:49 +02:00
79b6414727 feat(SimpleRouter): add SubPath function 2024-10-26 14:49:36 +02:00
Levente Nas
5096721360 feat: add tests for type package
Closes #4
2024-10-22 20:19:08 +02:00
3536b4338b feat(SimpleRouter): initial version 2024-10-22 00:21:44 +02:00
Levente Nas
fa8661af91 feat(Testing): add assert panic with message check as well 2024-10-18 20:17:47 +02:00
Levente Nas
d32169e645 fix(Testing): flip equal signs in output message in AssertTrue 2024-10-18 20:15:46 +02:00
Levente Nas
65e14cc4db feat(Testing): add assert panic and not panic 2024-10-15 23:09:59 +02:00
2e035a6336 chore: add license 2024-10-15 23:09:59 +02:00
6459ccae49 chore(pr)!: consistent naming conventions 2024-10-15 23:09:29 +02:00
aacb529fb6 refactor(Logger)!: harmonize naming 4 2024-10-15 13:31:00 +02:00
b40f588537 refactor(Testing)!: harmonize naming 3 2024-10-15 13:27:48 +02:00