英文: How are people managing authentication in Go? 问题 对于那些在Go中构建RESTful API和JS前端应用程序的人来说,你是如何管理身份验证的?...
Sending a MongoDB query to a different system: converting to JSON and then decoding into BSON? How to do it in Go language?
英文: Sending a MongoDB query to a different system: converting to JSON and then decoding into BSON? H...
Golang:使用CGo将C字段导出为外部可见
英文: Golang: Export C fields to be externally visible using CGo 问题 背景:我正在尝试创建一个包,它基本上提供了对我正在使用的C库的Go封...
Golang 未定义的函数
英文: Golang Undefined Functions 问题 我有以下的包src/helpers,但是当我在另一个包中导入它时,只有EmailValidator函数被导出,其他函数都没有被导出,...
如何在Golang中使用flag包指定位置参数?
英文: How to specify positional arguments with the flag package in Golang? 问题 有时候我想在命令行中传递一个没有名称的参数,比如...
Go postgresql LIKE 查询
英文: Go postgresql LIKE query 问题 我正在使用Go和PostgreSQL(pq驱动程序)进行工作,我有以下查询: SELECT p.id, p.name, p.descri...
Getting invalid operation: mymap["title"] (type interface {} does not support indexing) when trying to index a map
英文: Getting invalid operation: mymap["title"] (type interface {} does not support indexing...
寻找GoLang中Soundcloud API的入门资源。
英文: Looking for Starter Resources for the Soundcloud API in GoLang 问题 我尝试使用Go访问Soundcloud API,但没有成功。...
增长的切片和底层数组
英文: Out growing Slice and Underlying array 问题 我有一个数组和一个指向它的切片,如下所示: package main import "fmt"...
在Golang中,我可以将切片值分配为返回值吗?
英文: In Golang, can I assign slice values as return values? 问题 我正在尝试为错误检查开发一个透传函数,其中某些参数会被评估,其余参数会被返回...
11727