英文: How can I tell if my interface{} is a pointer? 问题 如果我将一个接口传递给一个函数,有没有办法判断传入的项是一个结构体还是一个指向结构体的指针?...
在 Docker 容器中运行 goconvey 的 HTTP 服务器。
英文: Running goconvey http server from within a docker container 问题 我正在为一些使用Golang Web服务项目使用Docker容器,...
条件化的Go协程/通道
英文: Conditional Go Routine/Channel 问题 我想将统计程序设为有条件运行,只在某些情况下运行,否则会浪费一半的时间。目前,我有一个goroutine作为生产者,通过缓冲...
在Go语言中的Scheme解释器
英文: Scheme interpreter in Go 问题 我是你的中文翻译助手,以下是翻译好的内容: 我是一个相当基础的Go程序员,最近在研究一个小的Scheme解释器,试图理解它的工作原理。 ...
如何在Go中格式化本地时间对象,并确保分钟正确?
英文: How to format a local time object in Go with correct minutes? 问题 我正在尝试将UTC(+0000)时间格式化为本地时间(在我这种...
将当前分支与上游分支(或任何其他引用)在git2go中合并。
英文: Merge current branch with upstream (or any other ref) in git2go 问题 我正在尝试在git2go中复制以下命令的结果: git m...
无法使用`’>’`或`’>>’`从`log.Println()`和`log.Printf()`中写入文件。
英文: Can not use '>' or '>>' to write to file from log.Println() and log.Pri...
如何使用Go发送电子邮件
英文: How to send an e-mail from Go 问题 我正在尝试在Golang中发送电子邮件,但遇到了很多问题。我在Go中是新手,所以也许这很简单,但我在文档中找不到答案。 这是我...
在函数中如何处理`http.Get`的错误?
英文: how handle error in http.Get in function 问题 我有一个关于这个函数的问题: func execute(query Query) (goreq.Resp...
cookie和cookiejar之间有什么区别?
英文: What is the difference between cookie and cookiejar? 问题 今天我遇到了术语"cookiejar"(包net/http/...
11727

