You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
453 B
21 lines
453 B
package version |
|
|
|
import ( |
|
xtime "go-common/library/time" |
|
) |
|
|
|
// Version str. |
|
type Version struct { |
|
ID int64 `json:"id"` |
|
Ty string `json:"type"` |
|
Title string `json:"title"` |
|
Content string `json:"content"` |
|
Link string `json:"link"` |
|
Ctime xtime.Time `json:"-"` |
|
Dateline xtime.Time `json:"dateline"` |
|
} |
|
|
|
// FullVersions fn 4=>Android;5:iPhone;6:PC |
|
func FullVersions() (tys []int) { |
|
return []int{4, 5, 6} |
|
}
|
|
|