小编its*_*ali的帖子

如何通过appId进行身份验证并键入loopback restapi

我想知道如何验证应用程序以向端点发出请求,因为我收到401错误,我已成功生成应用程序ID和appkeys,应该使用它,因为没有文档.

javascript strongloop loopbackjs

6
推荐指数
1
解决办法
929
查看次数

Golang 无法将 (type *string) 转换为 string 类型

当我尝试编译以下代码时,出现以下错误:

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

string type-conversion go

3
推荐指数
1
解决办法
1万
查看次数