|
edc93e8c37
|
util/reflect: update StructFieldNameByTag
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-05-04 14:43:46 +03:00 |
|
|
391813c260
|
util/reflect: add StructFieldNameByTag
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-05-04 14:34:41 +03:00 |
|
|
1a1459dd0e
|
util/reflect: fix StructFieldByTag
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-05-04 13:16:31 +03:00 |
|
|
1bcf71c189
|
util/xpool: package pool
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-04-14 00:16:55 +03:00 |
|
|
e739c2d438
|
util/reflect: detect json.Unmarshaler
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Failing after 2m3s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-04-02 08:51:06 +03:00 |
|
|
f83a29eb67
|
move sort.Uniq to dedicated package
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-27 11:24:28 +03:00 |
|
|
81b9a4341f
|
logger: extend interface, fix tests
pr / test (pull_request) Successful in 1m35s
lint / lint (pull_request) Successful in 10m40s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2024-03-04 01:09:08 +03:00 |
|
|
7c6bd98498
|
util/reflect: add Equal func with ability to skip some fields
pr / test (pull_request) Successful in 1m4s
lint / lint (pull_request) Successful in 1m10s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-09-12 10:31:45 +03:00 |
|
|
52bed214cf
|
tracer: improve
lint / lint (pull_request) Failing after 1m31s
pr / test (pull_request) Failing after 2m44s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-09-08 13:40:01 +03:00 |
|
|
17f21a03f4
|
add util/test
lint / lint (pull_request) Failing after 1m28s
pr / test (pull_request) Failing after 2m35s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-08-07 18:33:23 +03:00 |
|
|
a076d43a26
|
add util/test
lint / lint (pull_request) Failing after 1m31s
pr / test (pull_request) Failing after 2m33s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-08-07 18:32:29 +03:00 |
|
|
9b3bccd1f1
|
util/time: ParseDuration fix
lint / lint (pull_request) Successful in 1m0s
pr / test (pull_request) Successful in 58s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-05-29 14:02:06 +03:00 |
|
|
2ee8d4ed46
|
util/time: fix duration parsing
lint / lint (pull_request) Successful in 59s
pr / test (pull_request) Failing after 1m0s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-05-27 23:55:08 +03:00 |
|
|
83d87a40e4
|
util/structfs: import https://github.com/unistack-org/go-structfs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-19 23:35:39 +03:00 |
|
|
b07806b9a1
|
tmp
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-13 14:03:02 +03:00 |
|
|
0f583218d4
|
tmp
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-13 14:02:08 +03:00 |
|
|
8159b9d233
|
config/default: handle time.Duration
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-07 06:48:36 +03:00 |
|
|
45cdac5c29
|
config/default: handle time.Duration
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2023-02-07 06:48:12 +03:00 |
|
|
5e47cc7e8c
|
util/http: trie support method not allowed
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-12-27 23:47:11 +03:00 |
|
|
396387d1e8
|
minor improvements
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-11-07 14:53:58 +03:00 |
|
|
b075230ae5
|
global cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-05-03 14:38:44 +03:00 |
|
|
206cd8c3c9
|
util/reflect: improve test coverage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-04-22 09:24:34 +03:00 |
|
|
575af66ddc
|
service: config load only on start, not init phase
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-30 15:37:02 +03:00 |
|
|
03410c4ab1
|
small improve
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-27 01:37:21 +03:00 |
|
|
c6c2b0884e
|
jitter: add NewTickerContext
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-26 17:59:19 +03:00 |
|
|
2d292db7bd
|
small fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-25 14:24:20 +03:00 |
|
|
c64218d52c
|
config: add Validate func, small lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-03-22 14:54:43 +03:00 |
|
|
74765b4c5f
|
many lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2022-01-10 16:47:37 +03:00 |
|
|
8a2e84d489
|
minor changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-11-24 00:57:59 +03:00 |
|
|
55d8a9ee20
|
util/http: add type alias
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-11-19 03:04:08 +03:00 |
|
|
1829febb6e
|
util/http: fix lint issues
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-11-09 17:07:52 +03:00 |
|
|
7838fa62a8
|
util/trie: import some code from chi router
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-11-09 16:34:05 +03:00 |
|
|
38d6e482d7
|
util/reflect: fix StructFields
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-27 22:51:35 +03:00 |
|
|
07d4085201
|
util/reflect: fix reflect methods
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-27 12:55:48 +03:00 |
|
|
45f30c0be3
|
util/reflect: ZeroFieldByPath and SetFieldByPath
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-26 14:12:37 +03:00 |
|
|
bcaea675a7
|
util/reflect: add method to zero struct field
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-25 14:41:19 +03:00 |
|
|
5eb0e56373
|
move all imports to own domain
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-02 19:55:07 +03:00 |
|
|
ada59119cc
|
util/http: add test case
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-10-02 18:34:22 +03:00 |
|
|
3247d144a8
|
lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-30 21:13:13 +03:00 |
|
|
7b2e3cc8aa
|
lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-30 21:00:02 +03:00 |
|
|
e3fee6f8a6
|
util/http: add trie case insesitive matching
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-29 13:41:47 +03:00 |
|
|
15c020fac5
|
fix lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-29 13:19:07 +03:00 |
|
|
542f36cfa5
|
util/reflect: fix tests, lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-29 13:09:48 +03:00 |
|
|
8237e6a08e
|
util/router: drop google copy of pattern matcher in favour of util/http trie
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-29 13:09:22 +03:00 |
|
|
ecb60e4dc5
|
fix lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-28 23:43:43 +03:00 |
|
|
a1999ff81c
|
util/http: trie add more tests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-28 01:02:28 +03:00 |
|
|
d0f2bc8346
|
util/http: add trie matching func
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-27 23:30:53 +03:00 |
|
|
e10f8c0fa0
|
util/id: move tests to micro-tests repo
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-16 15:31:01 +03:00 |
|
|
faad082efe
|
util/rand: add Shuffle func
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-09-15 17:51:25 +03:00 |
|
|
e3545532e8
|
minor changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
|
2021-08-21 01:00:10 +03:00 |
|