Compare commits

..

106 Commits
master ... v3

Author SHA1 Message Date
08389ffa3a update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-23 11:22:40 +03:00
08a832569a
Merge pull request #97 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.42
Bump go.unistack.org/micro/v3 from 3.10.40 to 3.10.42
2024-03-05 03:08:02 +03:00
dependabot[bot]
81c7d9cc9a
Bump go.unistack.org/micro/v3 from 3.10.40 to 3.10.42
Bumps go.unistack.org/micro/v3 from 3.10.40 to 3.10.42.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 00:06:12 +00:00
4ba456d7a7
Merge pull request #96 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.40
Bump go.unistack.org/micro/v3 from 3.10.39 to 3.10.40
2024-02-29 03:31:54 +03:00
dependabot[bot]
6f18745792
Bump go.unistack.org/micro/v3 from 3.10.39 to 3.10.40
Bumps go.unistack.org/micro/v3 from 3.10.39 to 3.10.40.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 00:29:58 +00:00
3e7795a981
Merge pull request #95 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.39
Bump go.unistack.org/micro/v3 from 3.10.38 to 3.10.39
2024-02-23 03:46:12 +03:00
dependabot[bot]
382cd1db32
Bump go.unistack.org/micro/v3 from 3.10.38 to 3.10.39
Bumps go.unistack.org/micro/v3 from 3.10.38 to 3.10.39.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 00:44:21 +00:00
129b680834
Merge pull request #93 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.38
Bump go.unistack.org/micro/v3 from 3.10.36 to 3.10.38
2024-02-09 03:49:01 +03:00
dependabot[bot]
62f3faecaa
Bump go.unistack.org/micro/v3 from 3.10.36 to 3.10.38
Bumps go.unistack.org/micro/v3 from 3.10.36 to 3.10.38.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 00:47:08 +00:00
b469fa26bd
Merge pull request #91 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.36
Bump go.unistack.org/micro/v3 from 3.10.35 to 3.10.36
2024-01-15 03:48:37 +03:00
dependabot[bot]
5127f912dc
Bump go.unistack.org/micro/v3 from 3.10.35 to 3.10.36
Bumps go.unistack.org/micro/v3 from 3.10.35 to 3.10.36.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 00:46:50 +00:00
eda442b1ab
Merge pull request #90 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.35
Bump go.unistack.org/micro/v3 from 3.10.32 to 3.10.35
2023-12-21 03:40:37 +03:00
dependabot[bot]
d5cc390c17
Bump go.unistack.org/micro/v3 from 3.10.32 to 3.10.35
Bumps go.unistack.org/micro/v3 from 3.10.32 to 3.10.35.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 00:38:44 +00:00
e348a6e9fb
Merge pull request #87 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.32
Bump go.unistack.org/micro/v3 from 3.10.31 to 3.10.32
2023-11-14 03:52:10 +03:00
dependabot[bot]
5d349e196d
Bump go.unistack.org/micro/v3 from 3.10.31 to 3.10.32
Bumps go.unistack.org/micro/v3 from 3.10.31 to 3.10.32.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 00:48:57 +00:00
80e8f68a9f
Merge pull request #86 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.31
Bump go.unistack.org/micro/v3 from 3.10.29 to 3.10.31
2023-11-02 03:31:53 +03:00
dependabot[bot]
9926bd992b
Bump go.unistack.org/micro/v3 from 3.10.29 to 3.10.31
Bumps go.unistack.org/micro/v3 from 3.10.29 to 3.10.31.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 00:29:16 +00:00
cbe4fb2f02
Merge pull request #85 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.29
Bump go.unistack.org/micro/v3 from 3.10.28 to 3.10.29
2023-10-26 03:40:29 +03:00
dependabot[bot]
9854bf456a
Bump go.unistack.org/micro/v3 from 3.10.28 to 3.10.29
Bumps go.unistack.org/micro/v3 from 3.10.28 to 3.10.29.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 00:37:07 +00:00
d40008c676
Merge pull request #84 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.28
Bump go.unistack.org/micro/v3 from 3.10.27 to 3.10.28
2023-09-11 03:05:06 +03:00
dependabot[bot]
da6221e3b7
Bump go.unistack.org/micro/v3 from 3.10.27 to 3.10.28
Bumps go.unistack.org/micro/v3 from 3.10.27 to 3.10.28.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 00:03:02 +00:00
ac4aab65fb
Merge pull request #82 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.27
Bump go.unistack.org/micro/v3 from 3.10.25 to 3.10.27
2023-09-04 03:42:36 +03:00
dependabot[bot]
65b5fd8342
Bump go.unistack.org/micro/v3 from 3.10.25 to 3.10.27
Bumps go.unistack.org/micro/v3 from 3.10.25 to 3.10.27.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 00:39:34 +00:00
763b119289
Merge pull request #80 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.25
Bump go.unistack.org/micro/v3 from 3.10.24 to 3.10.25
2023-08-08 03:36:36 +03:00
dependabot[bot]
619d4ebb99
Bump go.unistack.org/micro/v3 from 3.10.24 to 3.10.25
Bumps go.unistack.org/micro/v3 from 3.10.24 to 3.10.25.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 00:34:18 +00:00
39b8f0a01d
Merge pull request #79 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.24
Bump go.unistack.org/micro/v3 from 3.10.23 to 3.10.24
2023-07-14 03:43:48 +03:00
dependabot[bot]
ec40a36254
Bump go.unistack.org/micro/v3 from 3.10.23 to 3.10.24
Bumps go.unistack.org/micro/v3 from 3.10.23 to 3.10.24.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 00:42:22 +00:00
0fabb2c777
Merge pull request #78 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.23
Bump go.unistack.org/micro/v3 from 3.10.22 to 3.10.23
2023-07-04 03:25:27 +03:00
dependabot[bot]
39ed1ba5b2
Bump go.unistack.org/micro/v3 from 3.10.22 to 3.10.23
Bumps go.unistack.org/micro/v3 from 3.10.22 to 3.10.23.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 00:24:10 +00:00
5cb43f196b
Merge pull request #74 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.22
Bump go.unistack.org/micro/v3 from 3.10.21 to 3.10.22
2023-05-30 03:59:34 +03:00
dependabot[bot]
99b6a44134
Bump go.unistack.org/micro/v3 from 3.10.21 to 3.10.22
Bumps go.unistack.org/micro/v3 from 3.10.21 to 3.10.22.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 00:58:11 +00:00
ee5f59121b
Merge pull request #73 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.21
Bump go.unistack.org/micro/v3 from 3.10.20 to 3.10.21
2023-05-29 04:28:34 +03:00
dependabot[bot]
5ecfb46d14
Bump go.unistack.org/micro/v3 from 3.10.20 to 3.10.21
Bumps go.unistack.org/micro/v3 from 3.10.20 to 3.10.21.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:26:20 +00:00
9c76e6a498
Merge pull request #72 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.20
Bump go.unistack.org/micro/v3 from 3.10.19 to 3.10.20
2023-05-26 03:59:58 +03:00
dependabot[bot]
57a0f75e22
Bump go.unistack.org/micro/v3 from 3.10.19 to 3.10.20
Bumps go.unistack.org/micro/v3 from 3.10.19 to 3.10.20.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 00:58:17 +00:00
e376188d06
Merge pull request #68 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.19
Bump go.unistack.org/micro/v3 from 3.10.18 to 3.10.19
2023-04-03 04:21:16 +03:00
dependabot[bot]
7d8fa279fa
Bump go.unistack.org/micro/v3 from 3.10.18 to 3.10.19
Bumps go.unistack.org/micro/v3 from 3.10.18 to 3.10.19.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 01:19:30 +00:00
c6b165fc27
Merge pull request #67 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.18
Bump go.unistack.org/micro/v3 from 3.10.17 to 3.10.18
2023-03-17 04:00:27 +03:00
dependabot[bot]
cefd04c64c
Bump go.unistack.org/micro/v3 from 3.10.17 to 3.10.18
Bumps go.unistack.org/micro/v3 from 3.10.17 to 3.10.18.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 00:59:01 +00:00
c716595b1c
Merge pull request #66 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.17
Bump go.unistack.org/micro/v3 from 3.10.16 to 3.10.17
2023-03-16 04:00:46 +03:00
dependabot[bot]
5b78e842e4
Bump go.unistack.org/micro/v3 from 3.10.16 to 3.10.17
Bumps go.unistack.org/micro/v3 from 3.10.16 to 3.10.17.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 00:59:17 +00:00
69ac0c5bc0
Merge pull request #64 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.16
Bump go.unistack.org/micro/v3 from 3.10.14 to 3.10.16
2023-03-15 04:00:25 +03:00
dependabot[bot]
c78998d57c
Bump go.unistack.org/micro/v3 from 3.10.14 to 3.10.16
Bumps go.unistack.org/micro/v3 from 3.10.14 to 3.10.16.

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 00:58:57 +00:00
53310928ad
Merge pull request #63 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.14
Bump go.unistack.org/micro/v3 from 3.10.13 to 3.10.14
2023-02-27 04:49:01 +03:00
dependabot[bot]
d2252ccede
Bump go.unistack.org/micro/v3 from 3.10.13 to 3.10.14
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.13 to 3.10.14.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.13...v3.10.14)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 01:47:55 +00:00
38e78fbde9
Merge pull request #62 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.13
Bump go.unistack.org/micro/v3 from 3.10.11 to 3.10.13
2023-02-22 03:29:52 +03:00
dependabot[bot]
6748f177a3
Bump go.unistack.org/micro/v3 from 3.10.11 to 3.10.13
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.11 to 3.10.13.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.11...v3.10.13)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-22 00:28:00 +00:00
971d9a46a3
Merge pull request #61 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.11
Bump go.unistack.org/micro/v3 from 3.10.9 to 3.10.11
2023-02-14 04:00:26 +03:00
dependabot[bot]
ee9a96f2f6
Bump go.unistack.org/micro/v3 from 3.10.9 to 3.10.11
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.9 to 3.10.11.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.9...v3.10.11)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 00:58:54 +00:00
737ff8146a
Merge pull request #60 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.9
Bump go.unistack.org/micro/v3 from 3.10.8 to 3.10.9
2023-02-09 03:05:59 +03:00
dependabot[bot]
e70b60ddee
Bump go.unistack.org/micro/v3 from 3.10.8 to 3.10.9
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.8 to 3.10.9.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.8...v3.10.9)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 00:04:04 +00:00
dc391902e9
Merge pull request #59 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.8
Bump go.unistack.org/micro/v3 from 3.10.7 to 3.10.8
2023-02-08 03:05:51 +03:00
dependabot[bot]
c3f4cf564c
Bump go.unistack.org/micro/v3 from 3.10.7 to 3.10.8
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.7 to 3.10.8.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.7...v3.10.8)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:04:05 +00:00
9859c80c5b
Merge pull request #58 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.7
Bump go.unistack.org/micro/v3 from 3.10.5 to 3.10.7
2023-02-07 03:04:47 +03:00
dependabot[bot]
130aa5fe61
Bump go.unistack.org/micro/v3 from 3.10.5 to 3.10.7
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.5 to 3.10.7.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.5...v3.10.7)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 00:03:22 +00:00
dependabot[bot]
269e8208df
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#56)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.5...v1.3.6)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 21:20:50 +03:00
ce5de2809c
Merge pull request #57 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.5
Bump go.unistack.org/micro/v3 from 3.10.4 to 3.10.5
2023-01-30 03:49:43 +03:00
dependabot[bot]
d881112f30
Bump go.unistack.org/micro/v3 from 3.10.4 to 3.10.5
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.4 to 3.10.5.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.4...v3.10.5)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 00:47:54 +00:00
dependabot[bot]
6616a1c448
Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#55)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 09:54:25 +03:00
982d1013b0
Merge pull request #54 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.4
Bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4
2023-01-19 03:09:47 +03:00
dependabot[bot]
7b5e5505d0
Bump go.unistack.org/micro/v3 from 3.10.3 to 3.10.4
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.3 to 3.10.4.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.3...v3.10.4)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:08:04 +00:00
648bd8bd73
Merge pull request #53 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.3
Bump go.unistack.org/micro/v3 from 3.10.0 to 3.10.3
2023-01-18 03:09:57 +03:00
dependabot[bot]
f839ee7e79
Bump go.unistack.org/micro/v3 from 3.10.0 to 3.10.3
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.10.0 to 3.10.3.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.10.0...v3.10.3)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 00:08:22 +00:00
93c4f593a3
Merge pull request #52 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.10.0
Bump go.unistack.org/micro/v3 from 3.9.18 to 3.10.0
2023-01-09 04:02:13 +03:00
dependabot[bot]
2fe3bafe88
Bump go.unistack.org/micro/v3 from 3.9.18 to 3.10.0
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.18 to 3.10.0.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.18...v3.10.0)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 01:00:48 +00:00
3b50129b45
Merge pull request #51 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.18
Bump go.unistack.org/micro/v3 from 3.9.17 to 3.9.18
2022-12-28 03:16:22 +03:00
dependabot[bot]
1ce984d8da
Bump go.unistack.org/micro/v3 from 3.9.17 to 3.9.18
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.17 to 3.9.18.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.17...v3.9.18)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 00:14:52 +00:00
3da2958c4b
Merge pull request #50 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.17
Bump go.unistack.org/micro/v3 from 3.9.15 to 3.9.17
2022-12-26 04:03:38 +03:00
dependabot[bot]
c5968ca6a2
Bump go.unistack.org/micro/v3 from 3.9.15 to 3.9.17
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.15 to 3.9.17.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.15...v3.9.17)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 01:02:02 +00:00
7f631a4f3d
Merge pull request #49 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.15
Bump go.unistack.org/micro/v3 from 3.9.14 to 3.9.15
2022-11-29 03:16:34 +03:00
dependabot[bot]
0a9274c9a3
Bump go.unistack.org/micro/v3 from 3.9.14 to 3.9.15
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.14 to 3.9.15.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.14...v3.9.15)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 00:14:29 +00:00
3c91b24896
Merge pull request #48 from unistack-org/simplify
add options
2022-11-28 12:31:51 +03:00
a89f1830a4 add options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-11-28 12:29:53 +03:00
0f99bba64f
Merge pull request #47 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.14
Bump go.unistack.org/micro/v3 from 3.9.13 to 3.9.14
2022-11-28 04:01:22 +03:00
dependabot[bot]
cca6260434
Bump go.unistack.org/micro/v3 from 3.9.13 to 3.9.14
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.13 to 3.9.14.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.13...v3.9.14)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 00:59:38 +00:00
dd792ba674
Merge pull request #46 from unistack-org/naming
fix func naming
2022-11-27 01:05:28 +03:00
4ce7122065 fix func naming
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-11-27 01:03:21 +03:00
dependabot[bot]
2b27d340bd
Bump hmarr/auto-approve-action from 2 to 3 (#45)
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2 to 3.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 00:56:44 +03:00
7991010515
Merge pull request #44 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.13
Bump go.unistack.org/micro/v3 from 3.9.11 to 3.9.13
2022-11-15 03:07:17 +03:00
dependabot[bot]
e468c43226
Bump go.unistack.org/micro/v3 from 3.9.11 to 3.9.13
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.11 to 3.9.13.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.11...v3.9.13)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 00:05:38 +00:00
dependabot[bot]
e1f64501a1
Bump golangci/golangci-lint-action from 3.2.0 to 3.3.1 (#43)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 07:22:05 +03:00
dependabot[bot]
4233548704
Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 (#42)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.4...v1.3.5)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-12 18:43:30 +03:00
dependabot[bot]
b570f87400
Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 (#40)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.3 to 1.3.4.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.3...v1.3.4)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 13:01:24 +03:00
dependabot[bot]
54ae8cd36f
Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 (#38)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-28 17:24:18 +03:00
2c56091b65
Merge pull request #39 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.11
Bump go.unistack.org/micro/v3 from 3.9.10 to 3.9.11
2022-07-11 04:16:58 +03:00
dependabot[bot]
40c08a46d7
Bump go.unistack.org/micro/v3 from 3.9.10 to 3.9.11
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.10 to 3.9.11.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.10...v3.9.11)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 01:15:31 +00:00
ac021a800f
Merge pull request #36 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.10
Bump go.unistack.org/micro/v3 from 3.9.8 to 3.9.10
2022-06-27 04:38:41 +03:00
dependabot[bot]
a02a5109df
Bump go.unistack.org/micro/v3 from 3.9.8 to 3.9.10
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.8 to 3.9.10.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.8...v3.9.10)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 01:37:16 +00:00
dependabot[bot]
0a4fe04db2
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#35)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2022-06-25 23:07:41 +03:00
d7df6a34f9
Merge pull request #34 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.8
Bump go.unistack.org/micro/v3 from 3.9.7 to 3.9.8
2022-05-03 03:28:43 +03:00
dependabot[bot]
310b1e1e9f
Bump go.unistack.org/micro/v3 from 3.9.7 to 3.9.8
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.7 to 3.9.8.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.7...v3.9.8)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 00:26:58 +00:00
dependabot[bot]
54245a08ab
Bump github/codeql-action from 1 to 2 (#33)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 23:42:59 +03:00
dependabot[bot]
8f7ad0ded7
Bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 (#32)
Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](https://github.com/dependabot/fetch-metadata/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-21 12:48:05 +03:00
19a8caf8b4
Merge pull request #31 from unistack-org/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-04-11 22:54:07 +03:00
dependabot[bot]
e8ff017087
Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 00:58:54 +00:00
6f9f665399
Merge pull request #30 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.7
Bump go.unistack.org/micro/v3 from 3.9.5 to 3.9.7
2022-03-31 03:24:46 +03:00
dependabot[bot]
c340ca6f7a
Bump go.unistack.org/micro/v3 from 3.9.5 to 3.9.7
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.5...v3.9.7)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 00:23:16 +00:00
82609130b5
Merge pull request #29 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.5
Bump go.unistack.org/micro/v3 from 3.9.1 to 3.9.5
2022-03-28 03:59:00 +03:00
dependabot[bot]
e37b3e87b0
Bump go.unistack.org/micro/v3 from 3.9.1 to 3.9.5
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.1 to 3.9.5.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.1...v3.9.5)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 00:57:26 +00:00
ee4292fb55
Merge pull request #28 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.1
Bump go.unistack.org/micro/v3 from 3.9.0 to 3.9.1
2022-03-23 03:30:24 +03:00
dependabot[bot]
5996bfe584
Bump go.unistack.org/micro/v3 from 3.9.0 to 3.9.1
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.9.0...v3.9.1)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 00:28:43 +00:00
fe7b259e60
Merge pull request #26 from unistack-org/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-22 23:03:51 +03:00
0408c6825f
Merge pull request #27 from unistack-org/dependabot/go_modules/go.unistack.org/micro/v3-3.9.0
Bump go.unistack.org/micro/v3 from 3.8.21 to 3.9.0
2022-03-22 03:26:07 +03:00
dependabot[bot]
8f2e679ea3
Bump go.unistack.org/micro/v3 from 3.8.21 to 3.9.0
Bumps [go.unistack.org/micro/v3](https://github.com/unistack-org/micro) from 3.8.21 to 3.9.0.
- [Release notes](https://github.com/unistack-org/micro/releases)
- [Commits](https://github.com/unistack-org/micro/compare/v3.8.21...v3.9.0)

---
updated-dependencies:
- dependency-name: go.unistack.org/micro/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 00:24:18 +00:00
dependabot[bot]
53de1e50ea
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-22 00:24:07 +00:00
372c979f27 update go version
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-07 13:46:59 +03:00
8 changed files with 2546 additions and 139 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: approve - name: approve
uses: hmarr/auto-approve-action@v2 uses: hmarr/auto-approve-action@v3
if: github.actor == 'vtolstov' || github.actor == 'dependabot[bot]' if: github.actor == 'vtolstov' || github.actor == 'dependabot[bot]'
id: approve id: approve
with: with:

View File

@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: setup - name: setup
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: 1.16 go-version: 1.17
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache - name: cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@ -34,7 +34,7 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: lint - name: lint
uses: golangci/golangci-lint-action@v3.1.0 uses: golangci/golangci-lint-action@v3.4.0
continue-on-error: true continue-on-error: true
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.

View File

@ -45,12 +45,12 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: setup - name: setup
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: 1.16 go-version: 1.17
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: init - name: init
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v2
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
@ -61,7 +61,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below)
- name: autobuild - name: autobuild
uses: github/codeql-action/autobuild@v1 uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
@ -75,4 +75,4 @@ jobs:
# make release # make release
- name: analyze - name: analyze
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v2

View File

@ -15,7 +15,7 @@ jobs:
steps: steps:
- name: metadata - name: metadata
id: metadata id: metadata
uses: dependabot/fetch-metadata@v1.3.0 uses: dependabot/fetch-metadata@v1.3.6
with: with:
github-token: "${{ secrets.TOKEN }}" github-token: "${{ secrets.TOKEN }}"
- name: merge - name: merge

View File

@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: setup - name: setup
uses: actions/setup-go@v2 uses: actions/setup-go@v3
with: with:
go-version: 1.16 go-version: 1.17
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: cache - name: cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/go/pkg/mod path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@ -34,7 +34,7 @@ jobs:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: lint - name: lint
uses: golangci/golangci-lint-action@v3.1.0 uses: golangci/golangci-lint-action@v3.4.0
continue-on-error: true continue-on-error: true
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.

7
go.mod
View File

@ -2,4 +2,9 @@ module go.unistack.org/micro-wrapper-recovery/v3
go 1.16 go 1.16
require go.unistack.org/micro/v3 v3.8.21 require (
go.unistack.org/micro/v3 v3.10.66
golang.org/x/sys v0.19.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
google.golang.org/grpc v1.63.2 // indirect
)

2496
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -1,29 +1,63 @@
package recovery // import "go.unistack.org/micro-wrapper-recovery/v3" package recovery
import ( import (
"context" "context"
"fmt" "fmt"
"go.unistack.org/micro/v3/errors"
"go.unistack.org/micro/v3/server" "go.unistack.org/micro/v3/server"
) )
type wrapper struct { func NewOptions(opts ...Option) Options {
serverHandlerFunc func(context.Context, server.Request, interface{}, error) error options := Options{
serverSubscriberFunc func(context.Context, server.Message, error) error ServerHandlerFn: DefaultServerHandlerFn,
/* ServerSubscriberFn: DefaultServerSubscriberFn,
clientCallFunc func(context.Context, string, client.Request, interface{}, client.CallOptions, error) error
clientClient func(client.Client, error) error
*/
}
func NewHandlerWrapper(fn func(context.Context, server.Request, interface{}, error) error) server.HandlerWrapper {
handler := &wrapper{
serverHandlerFunc: fn,
} }
return handler.HandlerFunc for _, o := range opts {
o(&options)
}
return options
} }
func (w *wrapper) HandlerFunc(fn server.HandlerFunc) server.HandlerFunc { type Options struct {
ServerHandlerFn func(context.Context, server.Request, interface{}, error) error
ServerSubscriberFn func(context.Context, server.Message, error) error
}
type Option func(*Options)
func ServerHandlerFunc(fn func(context.Context, server.Request, interface{}, error) error) Option {
return func(o *Options) {
o.ServerHandlerFn = fn
}
}
func ServerSubscriberFunc(fn func(context.Context, server.Message, error) error) Option {
return func(o *Options) {
o.ServerSubscriberFn = fn
}
}
var (
DefaultServerHandlerFn = func(ctx context.Context, req server.Request, rsp interface{}, err error) error {
return errors.BadRequest("", "%v", err)
}
DefaultServerSubscriberFn = func(ctx context.Context, req server.Message, err error) error {
return errors.BadRequest("", "%v", err)
}
)
var Hook = NewHook()
type hook struct {
opts Options
}
func NewHook(opts ...Option) *hook {
return &hook{opts: NewOptions(opts...)}
}
func (w *hook) ServerHandler(next server.FuncHandler) server.FuncHandler {
return func(ctx context.Context, req server.Request, rsp interface{}) (err error) { return func(ctx context.Context, req server.Request, rsp interface{}) (err error) {
defer func() { defer func() {
r := recover() r := recover()
@ -31,24 +65,17 @@ func (w *wrapper) HandlerFunc(fn server.HandlerFunc) server.HandlerFunc {
case nil: case nil:
return return
case error: case error:
err = w.serverHandlerFunc(ctx, req, rsp, verr) err = w.opts.ServerHandlerFn(ctx, req, rsp, verr)
default: default:
err = w.serverHandlerFunc(ctx, req, rsp, fmt.Errorf("%v", r)) err = w.opts.ServerHandlerFn(ctx, req, rsp, fmt.Errorf("%v", r))
} }
}() }()
err = fn(ctx, req, rsp) err = next(ctx, req, rsp)
return err return err
} }
} }
func NewSubscriberWrapper(fn func(context.Context, server.Message, error) error) server.SubscriberWrapper { func (w *hook) ServerSubscriber(next server.FuncSubHandler) server.FuncSubHandler {
handler := &wrapper{
serverSubscriberFunc: fn,
}
return handler.SubscriberFunc
}
func (w *wrapper) SubscriberFunc(fn server.SubscriberFunc) server.SubscriberFunc {
return func(ctx context.Context, msg server.Message) (err error) { return func(ctx context.Context, msg server.Message) (err error) {
defer func() { defer func() {
r := recover() r := recover()
@ -56,79 +83,12 @@ func (w *wrapper) SubscriberFunc(fn server.SubscriberFunc) server.SubscriberFunc
case nil: case nil:
return return
case error: case error:
err = w.serverSubscriberFunc(ctx, msg, verr) err = w.opts.ServerSubscriberFn(ctx, msg, verr)
default: default:
err = w.serverSubscriberFunc(ctx, msg, fmt.Errorf("%v", r)) err = w.opts.ServerSubscriberFn(ctx, msg, fmt.Errorf("%v", r))
} }
}() }()
err = fn(ctx, msg) err = next(ctx, msg)
return err return err
} }
} }
/*
func NewClientWrapper() client.Wrapper {
return func(c client.Client) client.Client {
handler := &wrapper{
clientClient: c,
}
return handler
}
}
func NewCallWrapper() client.CallWrapper {
return func(fn client.CallFunc) client.CallFunc {
handler := &wrapper{
clientCallFunc: fn,
}
return handler.CallFunc
}
}
func (w *wrapper) CallFunc(ctx context.Context, addr string, req client.Request, rsp interface{}, opts client.CallOptions) (err error) {
defer func() {
r := recover()
switch verr := r.(type) {
case nil:
return
case error:
err = w.clientCallFunc(ctx, addr, req, rsp, opts, verr)
default:
err = w.clientCallFunc(ctx, addr, req, rsp, opts, fmt.Errorf("%v", r))
}
}()
err = w.CallFunc(ctx, addr, req, rsp, opts)
return err
}
func (w *wrapper) Call(ctx context.Context, req client.Request, rsp interface{}, opts ...client.CallOption) error {
defer func() {
r := recover()
switch verr := r.(type) {
case nil:
return
case error:
err = w.clientClient.Call(ctx, addr, req, rsp, opts, verr)
default:
err = w.clientClient.Call(ctx, addr, req, rsp, opts, fmt.Errorf("%v", r))
}
}()
err = w.clientClient.Call(ctx, req, rsp, opts...)
return err
}
func (w *wrapper) Stream(ctx context.Context, req client.Request, opts ...client.CallOption) (client.Stream, error) {
stream, err := w.Client.Stream(ctx, req, opts...)
return stream, err
}
func (w *wrapper) Publish(ctx context.Context, p client.Message, opts ...client.PublishOption) error {
err := w.Client.Publish(ctx, p, opts...)
return err
}
*/