From 6c87b5c9d14e3e952ef2f63879a609372af62f9c Mon Sep 17 00:00:00 2001 From: Alan Bernstein Date: Mon, 19 Dec 2016 18:11:06 -0600 Subject: [PATCH] Remove extraneous JSON tags --- bench/zipf.go | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/bench/zipf.go b/bench/zipf.go index 1c27d6184..744db7e03 100644 --- a/bench/zipf.go +++ b/bench/zipf.go @@ -17,23 +17,22 @@ import ( // It also uses PermutationGenerator to permute IDs randomly. type ZipfSetBits struct { HasClient - Name string `json:"name"` - BaseBitmapID int64 `json:"base-bitmap-id"` - BaseProfileID int64 `json:"base-profile-id"` - BitmapIDRange int64 `json:"bitmap-id-range"` - ProfileIDRange int64 `json:"profile-id-range"` - Iterations int `json:"iterations"` - Seed int64 `json:"seed"` - DB string `json:"db"` - bitmapRng *rand.Zipf `json:"-"` - ProfileRng *rand.Zipf `json:"-"` - BitmapPerm *PermutationGenerator `json:"-"` - ProfilePerm *PermutationGenerator `json:"-"` - + Name string `json:"name"` + BaseBitmapID int64 `json:"base-bitmap-id"` + BaseProfileID int64 `json:"base-profile-id"` + BitmapIDRange int64 `json:"bitmap-id-range"` + ProfileIDRange int64 `json:"profile-id-range"` + Iterations int `json:"iterations"` + Seed int64 `json:"seed"` + DB string `json:"db"` BitmapExponent float64 `json:"bitmap-exponent"` BitmapRatio float64 `json:"bitmap-ratio"` ProfileExponent float64 `json:"profile-exponent"` ProfileRatio float64 `json:"profile-ratio"` + bitmapRng *rand.Zipf + ProfileRng *rand.Zipf + BitmapPerm *PermutationGenerator + ProfilePerm *PermutationGenerator } func (b *ZipfSetBits) Usage() string {