5

【第三十三期】golang校招面试经历分享 畅天游

 2 years ago
source link: https://studygolang.com/articles/35511
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【第三十三期】golang校招面试经历分享 畅天游

itmrtan · 大约8小时之前 · 37 次点击 · 预计阅读时间 1 分钟 · 大约8小时之前 开始浏览    

1、go init 的执行顺序,注意是不按导入规则的(这里是编译时按文件名的顺序执行的)

2、interface nil 比较。

3、原生map非线程安全,加锁以及sync.Map{}的实现。

4、channel no buffer以及buffer的区别。

5、如何删除slice中间的元素(s = append(s[:i],s[i+1,]...),我感觉其实就是切片的应用。

6、怎么保存在程序崩溃时的数据,当时没理解到,我觉得是(defer+reciver)

7、go实现一个SQL Pool(可以借鉴database/sql pool的实现)

8、go 怎么控制查询timeout (context)

9、docker image 的区别。

10、mysql的主从备份。

11、redis 的五种数据结构,以及其中一个用法。

12、git 创建分支。

13、less more 以及linux 中如何查看日志中某一行的数据 。(sed)

14、查看进程 。(ps)


有疑问加站长微信联系(非本文作者))

280

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK