英文: How to wait for the implementation of 问题 我有一个要并行分析的大型日志文件。 我有以下代码: package main import ( "bu...
创建一个在Go中运行任意shell命令的函数。
英文: Creating a function that runs arbitrary shell commands in Go 问题 我正在尝试在Go语言中创建一个通用函数,该函数接受一个带有参数的...
将实体放入Google App Engine Datastore后,无法立即使用该实体。
英文: Entity is not available immediately after being put into Google App Engine Datastore 问题 我的应用程序的流...
使用_mgo在Mongo中删除所有早于某个日期的文档。
英文: Delete all the document older than a date using _id in mongo using mgo 问题 我正在使用Golang和mgo工作,并且我想...
谷歌应用引擎的内存缓存(memcache)是否安全?
英文: Is Google App Engine memcache secure? 问题 我的应用程序在每个请求上检查用户身份验证和授权,我正在考虑将身份验证和授权数据从数据存储迁移到内存缓存(mem...
避免反射 – 我应该如何最好地重构这段代码?
英文: Avoiding reflection - How best can I refactor this code? 问题 我开始尝试使用Go语言,到目前为止感觉非常棒。我决定制作一个小应用,帮助...
如何在Go中使用Cli访问命令数组?
英文: How can I access an array of commands w/ Cli in Go? 问题 当前正在使用Codegangsta的Cli库。我运行的命令如下: myGoProg...
Golang如何嵌入一个带有额外隐藏方法的接口?
英文: Golang embed an interface with additional hidden methods? 问题 我想在一个结构体中嵌入一个http.ResponseWriter。这样...
使用Informix的DB2驱动程序
英文: Using DB2 driver with Informix 问题 我是你的中文翻译助手,以下是翻译好的内容: 我对IBM平台还不熟悉,但很快将要开始使用基于Informix的系统。我偏爱的编...
How can I write a function that takes either one of many types in go?
英文: How can I write a function that takes either one of many types in go? 问题 我正在尝试进行一个小项目,并尝试编写以下函数:...
35