英文: What methods are there currently that allow you to call a Go function in C? 问题 我看到了很多不同的方法可以实现这个...
使用Google App Engine SDK在Go中创建简单应用程序
英文: Simple Application in Go using Google App Engine SDK 问题 当我按照Google开发者的教程使用Go语言和Go应用引擎SDK创建一个简单应用...
如何在Golang中使用stdin执行命令?
英文: how can I get stdin to exec cmd in golang 问题 我有这段代码: subProcess := exec.Cmd{ Path: execAble, Arg...
在Go中包装任意函数的封装器
英文: Wrapper for arbitrary function in Go 问题 在Go语言中,是否可以创建一个包装器,用于任意函数,该包装器接受相同的参数并返回相同的值? 我不是在说要创建一个...
golang的ReverseProxy不起作用。
英文: golang ReverseProxy not working 问题 我不知道为什么这个反向代理不起作用。我看过几个示例,但没有找到任何问题。 package main import ( ...
限制使用Golang的单个可执行文件实例
英文: Restricting to Single Instance of Executable with Golang 问题 我需要一次只允许一个实例的 Golang 可执行文件。我不确定如何使用全...
如何在Golang中定义未索引的Datastore属性?
英文: How to define unindexed Datastore properties in Golang? 问题 我可以使用Golang在应用引擎上定义未索引的Datastore属性吗? ...
获取单个实体的Go数据存储查询?
英文: Go datastore query for getting a single entity? 问题 Datastore API reference for Go中有一个GetAll函数,它返...
将任何作为接口传递的结构体的变量设置为{}。
英文: set variable of any struct passed as interface{} 问题 我想知道如何在使用interface{}值时使用反射设置变量,并且可以传递各种结构体到f...
How to check if zip entry is directory in Go language
英文: How to check if zip entry is directory in Go language 问题 我猜测在下面的结构中,某个位标记了文件为目录。但是我找不到对此的引用。 htt...
2905