V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
LeviMarvin
V2EX  ›  程序员

求 golang 最新教程

  •  
  •   LeviMarvin ·
    LeviMarvin · 2023-06-05 02:05:40 +08:00 · 3355 次点击
    这是一个创建于 474 天前的主题,其中的信息可能已经有所发展或是发生改变。

    golang 都 1.20 了,有没有大佬有最新的教程。学过 c 和 java ,有其他语言基础。

    17 条回复    2023-06-06 01:37:12 +08:00
    koloonps
        1
    koloonps  
       2023-06-05 02:06:34 +08:00
    还不睡觉?
    OutOfMemoryError
        2
    OutOfMemoryError  
       2023-06-05 02:07:37 +08:00
    dreasky
        3
    dreasky  
       2023-06-05 08:45:57 +08:00
    官方文档
    cnbattle
        4
    cnbattle  
       2023-06-05 09:07:16 +08:00
    写业务 go1.x 差不多, 泛型啥的基本不用, 我就是从 1.18 之后 interface{} 偷懒改成 any 了 0.0
    cmdOptionKana
        5
    cmdOptionKana  
       2023-06-05 09:35:00 +08:00
    变化不大,看旧教程就可以了。(另外,有其他语言基础,官网的教程应该完全够用了)
    rickiey
        6
    rickiey  
       2023-06-05 09:42:11 +08:00
    没有新教程,旧教程就行了,go 这东西简单,没有花里胡哨的语法,也没啥语法糖和坑,两天过下语法,干就完了,剩下的就看别人的代码,慢慢积学习、积累
    Abirdcfly
        7
    Abirdcfly  
       2023-06-05 09:47:34 +08:00
    有其他语言基础,看 https://gobyexample.com/ 中文版本 https://gobyexample-cn.github.io/ 熟悉一下语法就可以干活了。
    x1aoda1
        8
    x1aoda1  
       2023-06-05 11:19:43 +08:00
    用 Go1.20+写些程序跑起来,切身感受下是最快的吧。要真找不到,看下这个用泛型实现的各类数据结构的工具包,希望能帮到你。https://github.com/dairongpeng/ds
    imianba2zz
        9
    imianba2zz  
       2023-06-05 13:41:58 +08:00
    自荐一下,针对有其它语言基础,开始入门的教程: https://github.com/Zhouchaowen/golang-tutorial
    LeviMarvin
        10
    LeviMarvin  
    OP
       2023-06-05 15:31:30 +08:00
    感谢各位大佬,我现在先解决手头的工作,完成后会一条一条看的,谢谢各位。
    Asakijz
        11
    Asakijz  
       2023-06-05 15:48:27 +08:00
    5200
        12
    5200  
       2023-06-05 17:09:17 +08:00
    https://iswbm.com/golang-basic
    https://www.yuque.com/aceld/mo95lb/dsk886
    好像不是最新的,不过可以了解一些基础内容
    DeXZG
        13
    DeXZG  
       2023-06-05 17:58:35 +08:00
    https://www.feifeiziyuan.com/full-time-go-dev/
    个人感觉这个老外讲的不错,循序渐进,用的也是 go1.20
    securityCoding
        14
    securityCoding  
       2023-06-05 19:11:48 +08:00 via Android
    the ultimate go
    非常推荐
    porqor
        15
    porqor  
       2023-06-05 19:36:57 +08:00
    还有人卖资源,外网不都是免费的吗,吃相真差
    luzemin
        16
    luzemin  
       2023-06-05 20:16:53 +08:00
    harrozze
        17
    harrozze  
       2023-06-06 01:37:12 +08:00
    有其他语言基础的话,找个 go 的项目模板,修改、加功能,或者换用 go 做个以前做过的类似项目应该是最快的。单纯 CRUD 那种就算了,找个稍微复杂点的项目用 go 实现一把,然后 google 遇到的问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2906 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 87ms · UTC 03:17 · PVG 11:17 · LAX 20:17 · JFK 23:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.