Add type PushId.
This commit is contained in:
parent
4b3e0e53e0
commit
2b7a4dcac0
|
@ -1,5 +1,13 @@
|
|||
package push_common
|
||||
|
||||
type PushId uint32
|
||||
|
||||
func (id PushId) String() string {
|
||||
return uint32ToString(uint32(id))
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
type TextVariant struct {
|
||||
Lang int `json:"lang"`
|
||||
Title string `json:"title"`
|
||||
|
|
Loading…
Reference in New Issue