-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ff349e
commit cb22d6a
Showing
4 changed files
with
240 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
package jsonmodels | ||
|
||
type Experiment struct { | ||
Id int `json:"id"` | ||
Name string `json:"name"` | ||
UnitType string `json:"unitType"` | ||
Iteration int `json:"iteration"` | ||
SeedHi int `json:"seedHi"` | ||
SeedLo int `json:"seedLo"` | ||
Split []float64 `json:"split"` | ||
TrafficSeedHi int `json:"trafficSeedHi"` | ||
TrafficSeedLo int `json:"trafficSeedLo"` | ||
TrafficSplit []float64 `json:"trafficSplit"` | ||
FullOnVariant int `json:"fullOnVariant"` | ||
Applications []ExperimentApplication `json:"applications"` | ||
Variants []ExperimentVariant `json:"variants"` | ||
AudienceStrict bool `json:"audienceStrict"` | ||
Audience string `json:"audience"` | ||
Id int `json:"id"` | ||
Name string `json:"name"` | ||
UnitType string `json:"unitType"` | ||
Iteration int `json:"iteration"` | ||
SeedHi int `json:"seedHi"` | ||
SeedLo int `json:"seedLo"` | ||
Split []float64 `json:"split"` | ||
TrafficSeedHi int `json:"trafficSeedHi"` | ||
TrafficSeedLo int `json:"trafficSeedLo"` | ||
TrafficSplit []float64 `json:"trafficSplit"` | ||
FullOnVariant int `json:"fullOnVariant"` | ||
Applications []ExperimentApplication `json:"applications"` | ||
Variants []ExperimentVariant `json:"variants"` | ||
CustomFieldValues []CustomFieldValue `json:"customFieldValues"` | ||
AudienceStrict bool `json:"audienceStrict"` | ||
Audience string `json:"audience"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters