Skip to content

feat: realisations of optionloadr's etcd part #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zhu-mi-shan
Copy link

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

etcd

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
optionloader etcd 模块的实现

(Optional) Which issue(s) this PR fixes:

允许用户通过etcd进行服务配置,并且可以自定义config结构,自定义decode,自定义translator

(optional) The PR that updates user documentation:

Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zhu-mi-shan

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

go.mod Outdated
@@ -0,0 +1,62 @@
module github.com/Printemps417/optionloader
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应当是 github.com/cloudwego/optionloader

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

老师,这里是不是github.com/kitex-contrib/optionloader,已修改

go.mod Outdated
@@ -0,0 +1,62 @@
module github.com/Printemps417/optionloader

go 1.22.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go 版本尽量降低,扩大适用范围

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kitex 目前支持最低 go1.17

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

目前降低到go 1.20

@ppzqh
Copy link

ppzqh commented Jul 5, 2024

ci still failed, please help to fix, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants