-
Notifications
You must be signed in to change notification settings - Fork 28
Feature/uri activity #5
base: master
Are you sure you want to change the base?
Conversation
| JPush API Go Client | ||
| ==================== | ||
|
|
||
| [](https://godoc.org/github.com/DeanThompson/jpush-api-go-client) [](https://travis-ci.org/DeanThompson/jpush-api-go-client) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果要 merge 进来,请把文档地址恢复到 github.com/DeanThompson, 下同
| "fmt" | ||
| "net/http" | ||
|
|
||
| "github.com/DeanThompson/jpush-api-go-client/common" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请修复 import 地址,下同
|
|
||
| Title string `json:"title,omitempty"` | ||
| BuilderId int `json:"builder_id,omitempty"` | ||
| Style int `json:"style,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
提交代码前请执行 gofmt
| // 平台通用的通知属性 | ||
| type platformNotification struct { | ||
| Alert string `json:"alert"` // required | ||
| Alert interface{} `json:"alert"` // required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改了 Alert 的类型,需要测试
| } | ||
|
|
||
| func NewIosNotification(alert string) *IosNotification { | ||
| func NewIosNotification(alert map[string]string) *IosNotification { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改了函数签名,需要测试
| *.exe | ||
| *.test | ||
| *.prof | ||
| api.push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新增的 ignore 规则,请添加到末尾,保留原来的规则
No description provided.