Skip to content
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

question: affected/package: 加载trpc_go.yaml如何自定义配置? #189

Closed
SIN5t opened this issue Nov 1, 2024 · 1 comment
Closed
Labels
question Further information is requested

Comments

@SIN5t
Copy link

SIN5t commented Nov 1, 2024

问题描述:将trpc_go.yaml文件放在自定义的目录下,trpc框架应该如何配置,才能扫描到呢?

image
image

具体:

  1. 如果是使用命令行在main中启动服务,个人感觉加一些参数指定就好?但找了下发现不好找
  2. 如果想在ide中直接启动,应该如何配置呢?例如goland
    image
@SIN5t SIN5t added the question Further information is requested label Nov 1, 2024
@SIN5t SIN5t closed this as completed Nov 4, 2024
@WineChord
Copy link
Contributor

You can modify the global variable

var ServerConfigPath = defaultConfigPath

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

No branches or pull requests

2 participants