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
538 B
21 lines
538 B
package experiment |
|
|
|
type Experiment struct { |
|
ID int64 `json:"id,omitempty"` |
|
Plat int8 `json:"-"` |
|
Name string `json:"name,omitempty"` |
|
Strategy string `json:"strategy,omitempty"` |
|
Desc string `json:"desc,omitempty"` |
|
TrafficGroup string `json:"traffic_group,omitempty"` |
|
Limit []*Limit `json:"-"` |
|
} |
|
|
|
type Limit struct { |
|
ExperimentID int64 `json:"-"` |
|
Build int `json:"-"` |
|
Condition string `json:"-"` |
|
} |
|
|
|
type ABTestV2 struct { |
|
AutoPlay int `json:"autoplay"` |
|
}
|
|
|