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

consulClient.instancesMap.Load(serviceName) 报错代码没有实现Load()方法和Store()...等 #10

Open
Downsonwang opened this issue Jan 13, 2024 · 2 comments

Comments

@Downsonwang
Copy link

instanceList, ok := consulClient.instancesMap.Load(serviceName) 这个报错:代码没有实现LOAD()方法和Store()方法等

@Downsonwang
Copy link
Author

你好 请问有人知道这个吗

@OrangeDou
Copy link

你好 请问有人知道这个吗

你的DiscoveryClientInstance中有定义sync.map吗?这个是并发安全map自带的方法,导入就有

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

2 participants