Learning the core Go libraries

xuanbao · · 459 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello! I&#39;m new to Golang and this subreddit. I have been learning the basic Go syntax and structure recently, and since I have found it rather intuitive, I&#39;ve decided to take the plunge and truly try and learn as much Go as I can this summer (aka, you&#39;ll probably see me more often in this sub in the future...). I came from mostly Python experience, some Java. Python started out fine for me - I had the syntax down, OOP wasn&#39;t a big problem for me. But, I had trouble learning the standard libraries. i&#39;ve noticed that Go&#39;s documentation for its libraries is less geared towards newbies than Python&#39;s is. That being said, I&#39;ve chosen Go, and I am motivated to learn it, but I want to ask this corner of the internet which libraries I need to know/are very useful, and some of the best ways that I can go about learning them. Thanks!</p> <p>TL;DR Which of the standard (or not standard) libraries should I learn, and what is the best way to go about doing so?</p> <p>*Edit - I&#39;d like to make GUI/command line applications, maybe do some web stuff</p> <p>*Edit - also, some pointers to some well written and basic Go code in Github would be great. Thanks</p> <hr/>**评论:**<br/><br/>Logiraptorr: <pre><p><a href="https://gobyexample.com/" rel="nofollow">https://gobyexample.com/</a> is a great place to start for a bunch of basic stuff like reading files, etc. It starts with just basic syntax, but the later items are a nice introduction to the standard library in practical terms. Let&#39;s see, the most widely used packages probably include net/http, io, fmt, and os. I&#39;d also explore the packages at <a href="https://golang.org/x/" rel="nofollow">https://golang.org/x/</a>, which is the &#39;extended standard library.&#39; These packages are useful enough to get recognition by the go team, but not yet stable enough to be included in the core library and be subject to the Go1 compatibility guarantees.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

459 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传