README ¶ ABTest import ( "fmt" "github.com/KunBetter/ABTest/core" "io/ioutil" ) func main() { ab := &core.ABTest{} ab.Init() buf, err := ioutil.ReadFile("ABExpConfig.json") if err != nil { fmt.Print(err) return } ab.LoadConfig([]string{string(buf)}) reqMap := make(map[string]string) tagMap := ab.Distribute(reqMap) fmt.Println(tagMap) } Next Plan Experimental variables matching supports multiple operators. Support ‰ traffic experiment. Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files example.go Directories ¶ Show internal Expand all Path Synopsis core constant context dim distribute entity experiment strategy util Click to show internal directories. Click to hide internal directories.