77e09295be
Fix maputils
2024-12-02 08:42:42 +01:00
f387fcb1b9
Fix module name
2024-12-01 10:41:26 +01:00
14c58baa95
Merge branch 'main' of gitlab.com:mstarongitlab/goutils
2024-12-01 10:32:26 +01:00
8d8fe03598
Add map compactor
2024-12-01 10:31:46 +01:00
7722a73ba2
Add compact slice function
2024-12-01 10:29:28 +01:00
ea4a111af6
Merge branch 'main' of gitlab.com:beckersam/goutils
2024-11-26 17:32:37 +01:00
9d803a94ee
Add middlewares
...
- Builder for chaining multiple middlewares on top of a base handler
- Middleware for adding a map of values to the request context
- Middleware for adding zerolog logging to the request
2024-11-26 17:30:05 +01:00
9a7f26995f
Update HttpErr
...
It now no longer has to go through json encoding and uses a hardcoded
string instead. Also clears the one location where an error could occur
2024-10-13 13:27:16 +02:00
bdbcf826eb
Merge branch 'main' of gitlab.com:beckersam/goutils
2024-09-28 12:39:53 +02:00
bd60c842e9
Add basic http error formatter
2024-09-28 12:37:06 +02:00
36eb60f298
Add LICENSE
2024-09-09 15:24:19 +00:00
c4ad5bc3c2
Delete LICENSE for changing it to MIT
2024-09-09 15:23:39 +00:00
f6878107d8
sync for backup
2024-08-22 19:56:37 +02:00
b3db20785b
Rename MapMap and new map func
...
Renamed MapMap to MapSameKeys to increase clarity for usage
Added func MapNewKeys to allow making a map with new keys too
2024-07-30 17:07:50 +02:00
66a118e6ef
Fix maputils
2024-07-30 16:58:10 +02:00
83e935df8a
Add func to get the pointer to some value
2024-07-07 16:00:08 +02:00
mStar aka a person
70f6d19476
Add wrapper for embed.FS to "fix" it including the full filepath for included files
2024-02-21 14:12:50 +01:00
mStar aka a person
a969a91746
Add multiplexer
2024-02-11 11:35:59 +01:00
mStar aka a person
7f9be06e1b
Fix go.mod for new gitlab username
2024-01-17 09:48:27 +01:00
mStar aka a person
ae2da5efa5
Moved stuff, added Contains to sliceutils
2024-01-17 09:47:33 +01:00
Samantha Becker
94e1712122
Added Must func to other
2023-08-18 17:14:04 +02:00
Samantha Becker
8b839f802b
Windows was dumb. Is now LF
2023-08-18 17:13:53 +02:00
Samuel Becker
c50cf88dd0
Added function to send a single value into a channel.
...
Is a wrapper for goroutines and similar where a return value can't be collected
Also added Goland's file things
2023-01-19 12:51:46 +01:00
Samuel Becker
5fbf5a7c8a
Add LICENSE
2022-12-19 13:49:33 +00:00
Samuel Becker
40d06d3ee0
Delete LICENSE
...
Want to change to Mozilla one
2022-12-19 13:48:41 +00:00
Samuel Becker
27ae7e589b
Add LICENSE
2022-10-28 11:19:46 +00:00
Samuel Becker
3b6732cc58
Fix some package collision problem
2022-08-07 22:01:32 +02:00
Samuel Becker
db85a9e33c
update module path
2022-08-07 21:59:43 +02:00
Samuel Becker
3bb5a47e3e
Update readme
2022-08-07 19:58:06 +02:00
Samuel Becker
4a35be2949
Edit: Works now. Also updated module name
2022-08-07 19:53:06 +02:00
Samuel Becker
e2e40cb56e
Init go module and some files
...
Idk why maputils cant find sliceutils
2022-08-07 19:52:10 +02:00
Samuel Becker
ab331886fe
Initial commit
2022-08-07 17:50:29 +00:00