我想知道如何验证应用程序以向端点发出请求,因为我收到401错误,我已成功生成应用程序ID和appkeys,应该使用它,因为没有文档.
当我尝试编译以下代码时,出现以下错误:
users.go:31: cannot convert pass (type *string) to type string
users.go:78: cannot convert &user.Password (type *string) to type []byte
如何取消引用或将指针转换为字符串文字?
提前致谢。
我试图编译的代码:https : //play.golang.org/p/gtMKLNAyNk