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.
19 lines
399 B
19 lines
399 B
package model |
|
|
|
// PubResp Response for publish interface |
|
type PubResp struct { |
|
CurrVer int64 `json:"curr_ver"` |
|
DiffProd []int64 `json:"diff_prod"` |
|
DiffTest []int64 `json:"diff_test"` |
|
} |
|
|
|
// Ver reprensents the already generated versions |
|
type Ver struct { |
|
FromVer int64 |
|
ID int64 |
|
} |
|
|
|
// TableName gives the table name of the model |
|
func (*Ver) TableName() string { |
|
return "resource_file" |
|
}
|
|
|