<p>Hello again,</p>
<p>I have a JSON map database system that I am integrating into my licensing system. I have successfully been able to get the add and check code down but unable to get the remove code down.</p>
<p>I would appreciate any code suggestions that might be able to fix this issue. Code: <a href="https://ghostbin.com/paste/5zgma" rel="nofollow">https://ghostbin.com/paste/5zgma</a></p>
<p>Thanks!</p>
<hr/>**评论:**<br/><br/>justinisrael: <pre><p>I don't see how anyone will be able to offer much help based on only that snippet. Can you provide information about what the encode and decode functions are doing to the global map? What results are you seeing? </p></pre>earthboundkid: <pre><p><code>delete</code> only works on maps, but your global variable has lock and unlock methods, so I don’t think it’s a map. Also, you don’t seem to be using the word “database” correctly. </p></pre>makeshift_mike: <pre><p>There’s two variables there, LoginInfo (which can be indexed like a map) and LoginInfoLock (which is probably a mutex)</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传