func ExampleTwo() { start := time.Now() for i := 0; i < 10000; i++ { wtype.GetUUID() } fmt.Println(time.Since(start)) }
func NewLHRequest() *LHRequest { var lhr LHRequest lhr.ID = wtype.GetUUID() lhr.Output_solutions = make(map[string]*wtype.LHSolution) lhr.Input_solutions = make(map[string][]*wtype.LHComponent) lhr.Plates = make(map[string]*wtype.LHPlate) lhr.Tips = make([]*wtype.LHTipbox, 0, 1) lhr.Locats = make([]string, 0, 1) lhr.Input_plates = make(map[string]*wtype.LHPlate) lhr.Input_platetypes = make([]*wtype.LHPlate, 0, 2) lhr.Input_Setup_Weights = make(map[string]float64) lhr.Output_plates = make(map[string]*wtype.LHPlate) lhr.Input_major_group_layouts = make(map[int][]string) lhr.Input_minor_group_layouts = make([][]string, 0, 1) lhr.Output_major_group_layouts = make(map[int][]string) lhr.Output_minor_group_layouts = make([][]string, 0, 1) lhr.Output_plate_layout = make(map[int]string) lhr.Plate_lookup = make(map[string]string) lhr.Stockconcs = make(map[string]float64) lhr.Input_order = make([]string, 0) return &lhr }
func ExampleOne() { fmt.Println(wtype.GetUUID()) }
func NewEquipmentManagerRequest() EquipmentManagerRequest { emr := EquipmentManagerRequest{} emr["ID"] = wtype.GetUUID() return emr }