首页
学习
活动
专区
工具
TVP
发布

landv

专栏成员
384
文章
648017
阅读量
44
订阅数
[golang][history]The Go Annotated Specification\ Go注释规范 266b9d49bfa3d2d16b4111378b1f9794373ee141
This document supersedes all previous Go spec attempts. The intent is to make this a reference for syntax and semantics. It is annotated with additional information not strictly belonging into a language spec.
landv
2021-01-29
6130
[golang][history]The Go Annotated Specification\ Go注释规范328df636c5f3e0875bc71a7eadf5a4a5084e0b13
This document supersedes all previous Go spec attempts. The intent is to make this a reference for syntax and semantics. It is annotated with additional information not strictly belonging into a language spec.
landv
2021-01-29
7120
[golang][history]The Go Annotated Specification\ Go注释规范18c5b488a3b2e218c0e0cf2a7d4820d9da93a554
This document supersedes all previous Go spec attempts. The intent is to make this a reference for syntax and semantics. It is annotated with additional information not strictly belonging into a language spec.
landv
2021-01-29
6810
[OHIF-Viewers]医疗数字阅片-医学影像-屏蔽StudyList病例列表
其中错误页面修改地址为Viewers/platform/viewer/src/routes/NotFound.js
landv
2020-07-22
5832
[golang]golang 语法糖'...'三个点的用法
‘...’三个点是golang的一种语法糖,表示为可变参数,可以接受任意个数的参数。
landv
2020-06-29
1.5K0
[golang]golang EqualFold 字符串比较是否相等
[golang]golang EqualFold 字符串比较是否相等 EqualFold 源码 strings.EqualFold 是忽略大小写的比较,返回bool // EqualFold reports whether s and t, interpreted as UTF-8 strings, // are equal under Unicode case-folding, which is a more general // form of case-insensitivity. func Equa
landv
2020-06-29
6.4K0
[golang] golang文件读写 os.OpenFile(fileName,os.O_APPEND|os.O_WRONLY,os.ModeAppend)
os.O_WRONLY | os.O_CREATE | O_EXCL           【如果已经存在,则失败】
landv
2020-06-18
4.8K0
[golang]golang signal.Notify 信号,如何优雅的退出
Notify函数让signal包将输入信号转发到c。如果没有列出要传递的信号,会将所有输入信号传递到c;否则只传递列出的输入信号。
landv
2020-06-16
17.9K1
[Golang] 初探之 sync.Once
Once 官方描述 Once is an object that will perform exactly one action,即 Once 是一个对象,它提供了保证某个动作只被执行一次功能,最典型的场景就是单例模式。
landv
2020-06-16
9530
[golang]log日志 Logrus的使用
Logrus is a structured logger for Go (golang), completely API compatible with the standard library logger.
landv
2020-06-16
2.1K0
关于golang-mod的使用方法
go mod download 下载模块到本地缓存,缓存路径是 $GOPATH/pkg/mod/cache
landv
2019-12-12
6350
[golang]Go常见问题:# command-line-arguments: ***: undefined: ***
在开发代码过程中,经常会因为逻辑处理而对代码进行分类,放进不同的文件里面;像这样,同一个包下的两个文件,点击idea的运行按钮或者运行 go run main.go命令时,就会报错,如图所示。
landv
2019-10-15
6.6K0
GUI引发的一场脑部大战|wine、wsl、mono、gtk、qt
wine可以运行大部分Windows软件,实在不行还有虚拟机,虚拟机性能弱,还可以进行远程服务器玩耍。
landv
2019-10-15
1.7K0
[golang]Golang实现高并发的调度模型---MPG模式
传统的并发形式:多线程共享内存,这也是Java、C#或者C++等语言中的多线程开发的常规方法,其实golang语言也支持这种传统模式,另外一种是Go语言特有的,也是Go语言推荐的: CSP(communicating sequential processes)并发模型。不同于传统的多线程通过共享内存来通信,CSP讲究的是“以通信的方式来共享内存”。 “不要以共享内存的方式来通信,相反,要通过通信来共享内存。”
landv
2019-10-12
2.1K0
[golang]写了一个可以用 go 来写脚本的工具:gosl
代码和使用说明可以看这里: http://github.com/daviddengcn/gosl
landv
2019-09-30
2K0
GoCN每日新闻(2019-09-26)
1. go-gin-api 路由中间件:Jaeger 链路追踪(六)https://mp.weixin.qq.com/s/Ea28475_UTNaM9RNfgPqJA 2. golang interface 要怎么用?http://www.leyafo.com/post/2019-09-24-how-to-use-golang-interface/ 3. Go 程序占用大量内存问题分析 http://team.jiunile.com/blog/2019/09/go-debug-memory.html 4. Go 业务基础库之 Error https://mp.weixin.qq.com/s/PLzA22yfSV_byckTTezl5Q 5. Prometheus架构与实践分享 https://mp.weixin.qq.com/s/beusaP2f3mOMIlEETBhtjg * 据说混迹在广深的 Go 开发团队,水都很深(文末专属福利)https://mp.weixin.qq.com/s/64aQgrkJfuyupJAclkTLOQ 编辑: 崔广章 订阅新闻: http://tinyletter.com/gocn
landv
2019-09-29
4340
GoCN每日新闻(2019-09-27)
1. Golang新版本发布:Go 1.13.1和Go 1.12.10 https://golang.org/dl/
landv
2019-09-29
4030
[golang]在Go中处理时区
当将时区存储在数据库中时,请始终遵循一个标准时区,理想的做法是保存UTC时间,并在显示时区时根据需要将其转化为各种时区。
landv
2019-09-26
4.8K0
[golang][译]使用os/exec执行命令
https://colobu.com/2017/06/19/advanced-command-execution-in-Go-with-os-exec/
landv
2019-09-26
2K0
[golang]A modern, fast and scalable websocket framework with elegant API written in Go
A modern, fast and scalable websocket framework with elegant API written in Go http://bit.ly/neffos-wiki
landv
2019-09-26
8040
点击加载更多
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档