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

Go学习FAQ #24

Open
suqi opened this issue Jan 16, 2019 · 0 comments
Open

Go学习FAQ #24

suqi opened this issue Jan 16, 2019 · 0 comments

Comments

@suqi
Copy link
Owner

suqi commented Jan 16, 2019

收集一些常见的问题

  1. 可以使用Go的最新版本编译器吗? (目前最新是1.11)

    • 直接使用最新的1.11, 是向后兼容的,
  2. 使用Go vendor时, 会报错

    • 项目源码必须放到GoPATH/src下
  3. 部署起来, 有没有多进程方案, 来充分利用CPU资源

    • 建议使用consul来治理微服务, 如果简单点就用nginx反向代理给多进程
  4. 由于是编译型, 必须把动态配置内容放在单独的配置文件里来读取吗?

    • 是必须要用配置文件
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

No branches or pull requests

1 participant