2016年11月22日

dynamoDb 使用

摘要: 如果写入时候结构体为: type Item struct { DeviceId string `dynamo:"deviceid"` Play int `dynamo:"play"` } 写入结果后修改DeviceId 为DeviceIdAAA,那么利用Item.DeviceIdAAA将获取不到de 阅读全文

posted @ 2016-11-22 13:56 iokde.com 阅读(393) 评论(0) 推荐(0) 编辑

dynamoDb aws config aws_access_key_id aws_secret_access_key golang

摘要: how to set aws_access_key_id 参考: https://github.com/search?q=awscfg.WithCredentials&type=Code&utf8=%E2%9C%93 https://github.com/pr8kerl/cloudwatcher/b 阅读全文

posted @ 2016-11-22 11:45 iokde.com 阅读(340) 评论(0) 推荐(0) 编辑

golang print struct with key

摘要: https://play.golang.org/p/YMfpuluzef 判断结构体是否为空 打印带attribute(key) 的结构体 阅读全文

posted @ 2016-11-22 11:42 iokde.com 阅读(998) 评论(0) 推荐(1) 编辑

导航